-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Labels
Area-Script AnalysisIssue-EnhancementA feature request (enhancement).A feature request (enhancement).
Description
In this block of code: https://github.com/PowerShell/PowerShellEditorServices/blob/master/src/PowerShellEditorServices.Protocol/Server/LanguageServerSettings.cs#L209
The list of PSScriptAnalyzer rules used to perform the Formatting function is hard-coded. It would be nice to have a way of extending this list to include custom rules. For example, I have one that removes any trailing whitespace from lines, but it doesn't run if I use VSCode's "Format Document" or "Format Selection" actions.
Metadata
Metadata
Assignees
Labels
Area-Script AnalysisIssue-EnhancementA feature request (enhancement).A feature request (enhancement).