I ran into this issue using the PowerShell extension for VS Code and was referred to this project.
Issue Description
When adding comments on the same line as a function where the opening brace is on the next line, the comment doesn't get formatted correctly.
I'm using the Dark+ (default dark) theme and comments are green, however, when entered into this line they appear as grey.
As an example:
Function New-Function { #comment here
}
formats fine with a green comment, however,
Function New-Function #comment here
{
}
doesn't format correctly and the comment remains grey.
I ran into this issue using the PowerShell extension for VS Code and was referred to this project.
Issue Description
When adding comments on the same line as a function where the opening brace is on the next line, the comment doesn't get formatted correctly. I'm using the Dark+ (default dark) theme and comments are green, however, when entered into this line they appear as grey.
As an example:
formats fine with a green comment, however,
doesn't format correctly and the comment remains grey.