System Details
- Operating system name and version: Windows 10 1703 (15063)
- VS Code version: 1.15.1
- PowerShell extension version 1.4.1:
- Output from
$PSVersionTable:
Name Value
---- -----
PSVersion 5.1.15063.502
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15063.502
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
1.15.1
41abd21afdf7424c89319ee7cb0445cc6f376959
- Output from
$psEditor.EditorServicesVersion:
Major Minor Build Revision
----- ----- ----- --------
1 4 1 0
- Output from
code --list-extensions --show-versions:
Issue Description
PSDocumentFormattingEditProvider.getEditorSettings does not currently consume language-specific editor settings, if defined.
I have fixed this on a local copy of the extension by replacing "editor" with "powershell" in the call to vscode.workspace.getConfiguration, but I am not familiar enough with the language and environment to determine if this is a proper solution.
Full replication steps with description of practical impact are in this (rightfully) closed VSCode issue.
System Details
$PSVersionTable:code -v:$psEditor.EditorServicesVersion:code --list-extensions --show-versions:Issue Description
PSDocumentFormattingEditProvider.getEditorSettings does not currently consume language-specific editor settings, if defined.
I have fixed this on a local copy of the extension by replacing
"editor"with"powershell"in the call tovscode.workspace.getConfiguration, but I am not familiar enough with the language and environment to determine if this is a proper solution.Full replication steps with description of practical impact are in this (rightfully) closed VSCode issue.