-
Notifications
You must be signed in to change notification settings - Fork 0
/
sublime-package.json
190 lines (190 loc) · 9.34 KB
/
sublime-package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"contributions": {
"settings": [
{
"file_patterns": [
"/LSP-PowerShellEditorServices.sublime-settings"
],
"schema": {
"$id": "sublime://settings/LSP-PowerShellEditorServices",
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$ref": "sublime://settings/LSP-PowerShellEditorServices#/definitions/PluginConfig"
}
],
"definitions": {
"PluginConfig": {
"properties": {
"settings": {
"additionalProperties": false,
"properties": {
"powershell.codeFormatting.addWhitespaceAroundPipe": {
"default": true,
"description": "Adds a space before and after the pipeline operator ('|') if it is missing.",
"type": "boolean"
},
"powershell.codeFormatting.alignPropertyValuePairs": {
"default": true,
"description": "Align assignment statements in a hashtable or a DSC Configuration.",
"type": "boolean"
},
"powershell.codeFormatting.autoCorrectAliases": {
"default": false,
"description": "Replaces aliases with their aliased name.",
"type": "boolean"
},
"powershell.codeFormatting.ignoreOneLineBlock": {
"default": true,
"description": "Does not reformat one-line code blocks, such as \"if (...) {...} else {...}\".",
"type": "boolean"
},
"powershell.codeFormatting.newLineAfterCloseBrace": {
"default": true,
"description": "Adds a newline (line break) after a closing brace.",
"type": "boolean"
},
"powershell.codeFormatting.newLineAfterOpenBrace": {
"default": true,
"description": "Adds a newline (line break) after an open brace.",
"type": "boolean"
},
"powershell.codeFormatting.openBraceOnSameLine": {
"default": true,
"description": "Places open brace on the same line as its associated statement.",
"type": "boolean"
},
"powershell.codeFormatting.pipelineIndentationStyle": {
"default": "NoIndentation",
"description": "Multi-line pipeline style settings (default: NoIndentation).",
"enum": [
"IncreaseIndentationForFirstPipeline",
"IncreaseIndentationAfterEveryPipeline",
"NoIndentation",
"None"
],
"type": "string"
},
"powershell.codeFormatting.preset": {
"default": "Custom",
"description": "Sets the codeformatting options to follow the given indent style in a way that is compatible with PowerShell syntax. For more information about the brace styles please refer to https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81.",
"enum": [
"Custom",
"Allman",
"OTBS",
"Stroustrup"
],
"type": "string"
},
"powershell.codeFormatting.trimWhitespaceAroundPipe": {
"default": false,
"description": "Trims extraneous whitespace (more than 1 character) before and after the pipeline operator ('|').",
"type": "boolean"
},
"powershell.codeFormatting.useConstantStrings": {
"default": false,
"description": "Use single quotes if a string is not interpolated and its value does not contain a single quote.",
"type": "boolean"
},
"powershell.codeFormatting.useCorrectCasing": {
"default": false,
"description": "Use correct casing for cmdlets.",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceAfterSeparator": {
"default": true,
"description": "Adds a space after a separator (',' and ';').",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceAroundOperator": {
"default": true,
"description": "Adds spaces before and after an operator ('=', '+', '-', etc.).",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceAroundPipe": {
"default": true,
"description": "REMOVED. Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically.",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceBeforeOpenBrace": {
"default": true,
"description": "Adds a space between a keyword and its associated scriptblock expression.",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceBeforeOpenParen": {
"default": true,
"description": "Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression.",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceBetweenParameters": {
"default": false,
"description": "Removes redundant whitespace between parameters.",
"type": "boolean"
},
"powershell.codeFormatting.whitespaceInsideBrace": {
"default": true,
"description": "Adds a space after an opening brace ('{') and before a closing brace ('}').",
"type": "boolean"
},
"powershell.enableProfileLoading": {
"default": true,
"description": "Loads user and system-wide PowerShell profiles (profile.ps1 and Microsoft.VSCode_profile.ps1) into the PowerShell session. This affects IntelliSense and interactive script execution, but it does not affect the debugger.",
"type": "boolean"
},
"powershell.helpCompletion": {
"default": "BlockComment",
"description": "Controls the comment-based help completion behavior triggered by typing '##'. Set the generated help style with 'BlockComment' or 'LineComment'. Disable the feature with 'Disabled'.",
"enum": [
"Disabled",
"BlockComment",
"LineComment"
],
"type": "string"
},
"powershell.scriptAnalysis.enable": {
"default": true,
"description": "Enables real-time script analysis from PowerShell Script Analyzer. Uses the newest installed version of the PSScriptAnalyzer module or the version bundled with this extension, if it is newer.",
"type": "boolean"
},
"powershell.scriptAnalysis.settingsPath": {
"default": "PSScriptAnalyzerSettings.psd1",
"description": "Specifies the path to a PowerShell Script Analyzer settings file. To override the default settings for all projects, enter an absolute path, or enter a path relative to your workspace.",
"type": "string"
},
"powershell.useX86Host": {
"default": false,
"description": "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.",
"type": "boolean"
}
}
}
}
}
}
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"LSP": {
"properties": {
"PowerShellEditorServices": {
"$ref": "sublime://settings/LSP-PowerShellEditorServices#/definitions/PluginConfig"
}
}
}
}
}
}
}
}
]
}
}