-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format rule request: Remove all semicolons at the end of lines #801
Comments
Maybe this is better suited for PSScriptAnalyzer? I'd suggest posting this feedback here: https://github.com/PowerShell/PSScriptAnalyzer |
Part of the implementation would happen in the PowerShell extension so I'd say we can leave the issue here for tracking purposes. |
This could be a good example of using $psEditor. :-) |
@bergmeister I feel like this can all be handled in PSSA via Formatting. What do you think? |
@TylerLeonhardt Yes, there is already an open issue: PowerShell/PSScriptAnalyzer#824 |
@bergmeister thanks for the response and for linking the issue where this is being tracked, I will go ahead and leave this open as way to track the work that would need to happen to allow this to be a configuration in vscode |
Anyone who wants to pick this up can use Remove-Semicolon from EditorServicesCommandSuite as guide. Implementing it in PSSA won't be as simple, but that should give an idea of what you're looking for. Edit: Might be a good idea to make the bot that adds "Needs: Attention" exclude maintainers. |
I know some people love their semi-colons at the end of lines like in C# but it's not necessary for PowerShell. I'd love to take someone else's code and format the document to remove all of the semicolons from it.
The text was updated successfully, but these errors were encountered: