Skip to content

Commit 6015fd3

Browse files
CopilotJustinGrote
andcommitted
Prefix configuration titles with PowerShell to maintain subgroups
Co-authored-by: JustinGrote <[email protected]>
1 parent 251cfb9 commit 6015fd3

File tree

1 file changed

+36
-8
lines changed

1 file changed

+36
-8
lines changed

package.json

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,10 @@
696696
"initialConfigurations": []
697697
}
698698
],
699-
"configuration": {
700-
"properties": {
699+
"configuration": [
700+
{
701+
"title": "PowerShell: Interface",
702+
"properties": {
701703
"powershell.buttons.showRunButtons": {
702704
"type": "boolean",
703705
"default": true,
@@ -766,7 +768,12 @@
766768
"type": "boolean",
767769
"default": false,
768770
"markdownDescription": "Suppresses the warning message when any of `#powershell.powerShellAdditionalExePaths#` is not found."
769-
},
771+
}
772+
}
773+
},
774+
{
775+
"title": "PowerShell: Formatting",
776+
"properties": {
770777
"powershell.codeFormatting.preset": {
771778
"type": "string",
772779
"default": "Custom",
@@ -891,7 +898,12 @@
891898
"type": "boolean",
892899
"default": false,
893900
"markdownDescription": "Use correct casing for cmdlets."
894-
},
901+
}
902+
}
903+
},
904+
{
905+
"title": "PowerShell: Editor Services",
906+
"properties": {
895907
"powershell.powerShellDefaultVersion": {
896908
"type": "string",
897909
"default": "",
@@ -975,7 +987,12 @@
975987
"default": false,
976988
"markdownDescription": "**Deprecated:** Uses the 32-bit language service on 64-bit Windows. This setting has no effect on 32-bit Windows or on the PowerShell extension debugger, which has its own architecture configuration.",
977989
"markdownDeprecationMessage": "**Deprecated:** This setting was removed when the PowerShell installation searcher was added. Please use the `#powershell.powerShellAdditionalExePaths#` setting instead."
978-
},
990+
}
991+
}
992+
},
993+
{
994+
"title": "PowerShell: Pester",
995+
"properties": {
979996
"powershell.pester.useLegacyCodeLens": {
980997
"type": "boolean",
981998
"default": true,
@@ -1010,7 +1027,12 @@
10101027
],
10111028
"default": "Diagnostic",
10121029
"markdownDescription": "Defines the verbosity of output to be used when debugging a test or a block. For Pester 5 and newer the default value `Diagnostic` will print additional information about discovery, skipped and filtered tests, mocking and more."
1013-
},
1030+
}
1031+
}
1032+
},
1033+
{
1034+
"title": "PowerShell: Terminal",
1035+
"properties": {
10141036
"powershell.integratedConsole.suppressStartupBanner": {
10151037
"type": "boolean",
10161038
"default": false,
@@ -1053,7 +1075,12 @@
10531075
"type": "boolean",
10541076
"default": false,
10551077
"markdownDescription": "Use the VS Code API to clear the terminal since that's the only reliable way to clear the scrollback buffer. Turn this on if you're used to `Clear-Host` clearing scroll history. **This setting is not recommended and likely to be deprecated!**"
1056-
},
1078+
}
1079+
}
1080+
},
1081+
{
1082+
"title": "PowerShell: Developer",
1083+
"properties": {
10571084
"powershell.developer.editorServicesLogLevel": {
10581085
"type": "string",
10591086
"default": "Warning",
@@ -1124,8 +1151,9 @@
11241151
"markdownDescription": "**Deprecated:** Specifies the URL of the GitHub project in which to generate bug reports.",
11251152
"markdownDeprecationMessage": "**Deprecated:** This setting was never meant to be changed!"
11261153
}
1154+
}
11271155
}
1128-
},
1156+
],
11291157
"capabilities": {
11301158
"untrustedWorkspaces": {
11311159
"supported": false

0 commit comments

Comments
 (0)