Skip to content

Dynamic comment snippets should work on script file parameter blocks #769

Open
@PowerSchill

Description

@PowerSchill

Could the new comment insert be updated to support anonymous functions?

Perhaps triggering when the first subsequent non-comment line is [CmdletBinding()]

Example:

#function Get-VSCodeInfo {
[CmdletBinding()]
[OutputType([])]
param(


)

begin {
}

process {

}

end {
}
#}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions