First line of following file is not correctly highlighted/scoped as annotation. ```ps [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory=$true)] [string]$base, [Parameter(Mandatory=$true)] [string]$head ) Set-StrictMode -version 2.0 $ErrorActionPreference="Stop" ``` <img width="330" height="80" alt="Image" src="https://github.com/user-attachments/assets/325271c4-6954-4fbc-80e6-c2c5c3462d0f" />
Activity
michaelblyons commentedon Jun 18, 2026
This is like the contents of
inside-function-body, but at top-level?Could we do something like this?
deathaxe commentedon Jun 18, 2026
LGTM.
Off-topic: Would it make sense to scope attributes
meta.annotationas C#?michaelblyons commentedon Jun 18, 2026
Sounds good to me.