-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
359 lines (359 loc) · 17.3 KB
/
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
{
"name": "coc-powershell",
"displayName": "PowerShell Language Server for coc.nvim",
"description": "PowerShell Language Support using PowerShell Editor Services",
"author": "Yatao Li, Tyler Leonhardt, Cory Knox",
"license": "MIT",
"readme": "README.md",
"version": "0.1.4",
"publisher": "yatli, tylerleonhardt, corbob",
"repository": {
"type": "git",
"url": "https://github.com/coc-extensions/coc-powershell"
},
"bugs": {
"url": "https://github.com/coc-extensions/coc-powershell/issues"
},
"homepage": "https://github.com/coc-extensions/coc-powershell#readme",
"engines": {
"coc": ">=0.0.77"
},
"keywords": [
"pwsh",
"powershell",
"coc.nvim",
"dotnet",
".NET Core",
".NET"
],
"categories": [
"Programming Languages",
"Linters",
"coc.nvim"
],
"activationEvents": [
"onLanguage:ps1",
"onLanguage:powershell",
"onLanguage:PowerShell",
"onLanguage:Powershell",
"onLanguage:pwsh"
],
"main": "out/client/extension.js",
"files": [
"out",
"syntaxes",
"src/downloadPSES.ps1",
"README.md",
"LICENSE",
"Snippets",
"PowerShellEditorServices"
],
"contributes": {
"snippets": [
{
"language": "ps1",
"path": "Snippets/PowerShell.json"
}
],
"languages": [
{
"id": "ps1",
"aliases": [
"PowerShell",
"pwsh"
],
"extensions": [
".ps1",
".psm1",
".psd1"
]
}
],
"grammars": [],
"configuration": {
"type": "object",
"title": "PowerShell Configuration",
"properties": {
"powershell.sideBar.CommandExplorerVisibility": {
"type": "boolean",
"default": true,
"description": "Specifies the visibility of the Command Explorer in the PowerShell Side Bar."
},
"powershell.sideBar.CommandExplorerExcludeFilter": {
"type": "array",
"default": [],
"description": "Specify array of Modules to exclude from Command Explorer listing."
},
"powershell.powerShellExePath": {
"type": "string",
"default": "",
"isExecutable": true,
"description": "Specifies the full path to a PowerShell executable. Changes the installation of PowerShell used for language and debugging services."
},
"powershell.powerShellAdditionalExePaths": {
"type": "array",
"description": "Specifies an array of versionName / exePath pairs where exePath points to a non-standard install location for PowerShell and versionName can be used to reference this path with the powershell.powerShellDefaultVersion setting.",
"isExecutable": true,
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"versionName",
"exePath"
],
"properties": {
"versionName": {
"type": "string",
"description": "Specifies the version name of this PowerShell executable. The version name can be referenced via the powershell.powerShellDefaultVersion setting."
},
"exePath": {
"type": "string",
"description": "Specifies the path to the PowerShell executable. Typically this is a path to a non-standard install location."
}
}
}
},
"powershell.powerShellDefaultVersion": {
"type": "string",
"description": "Specifies the PowerShell version name, as displayed by the 'PowerShell: Show Session Menu' command, used when the extension loads e.g \"Windows PowerShell (x86)\" or \"PowerShell Core 6 (x64)\"."
},
"powershell.startAutomatically": {
"type": "boolean",
"default": true,
"description": "Starts PowerShell extension features automatically when a PowerShell file opens. If false, to start the extension, use the 'PowerShell: Restart Current Session' command. IntelliSense, code navigation, integrated console, code formatting, and other features are not enabled until the extension starts."
},
"powershell.useX86Host": {
"type": "boolean",
"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."
},
"powershell.enableProfileLoading": {
"type": "boolean",
"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."
},
"powershell.bugReporting.project": {
"type": "string",
"default": "https://github.com/PowerShell/vscode-powershell",
"description": "Specifies the url of the GitHub project in which to generate bug reports."
},
"powershell.helpCompletion": {
"type": "string",
"enum": [
"Disabled",
"BlockComment",
"LineComment"
],
"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'."
},
"powershell.scriptAnalysis.enable": {
"type": "boolean",
"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."
},
"powershell.scriptAnalysis.settingsPath": {
"type": "string",
"default": "",
"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."
},
"powershell.codeFolding.enable": {
"type": "boolean",
"default": true,
"description": "Enables syntax based code folding. When disabled, the default indentation based code folding is used."
},
"powershell.codeFolding.showLastLine": {
"type": "boolean",
"default": true,
"description": "Shows the last line of a folded section similar to the default VSCode folding style. When disabled, the entire folded region is hidden."
},
"powershell.codeFormatting.autoCorrectAliases": {
"type": "boolean",
"default": false,
"description": "Replaces aliases with their aliased name."
},
"powershell.codeFormatting.preset": {
"type": "string",
"enum": [
"Custom",
"Allman",
"OTBS",
"Stroustrup"
],
"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."
},
"powershell.codeFormatting.openBraceOnSameLine": {
"type": "boolean",
"default": true,
"description": "Places open brace on the same line as its associated statement."
},
"powershell.codeFormatting.newLineAfterOpenBrace": {
"type": "boolean",
"default": true,
"description": "Adds a newline (line break) after an open brace."
},
"powershell.codeFormatting.newLineAfterCloseBrace": {
"type": "boolean",
"default": true,
"description": "Adds a newline (line break) after a closing brace."
},
"powershell.codeFormatting.pipelineIndentationStyle": {
"type": "string",
"enum": [
"IncreaseIndentationForFirstPipeline",
"IncreaseIndentationAfterEveryPipeline",
"NoIndentation",
"None"
],
"default": "NoIndentation",
"description": "Multi-line pipeline style settings (default: NoIndentation)."
},
"powershell.codeFormatting.whitespaceBeforeOpenBrace": {
"type": "boolean",
"default": true,
"description": "Adds a space between a keyword and its associated scriptblock expression."
},
"powershell.codeFormatting.whitespaceBeforeOpenParen": {
"type": "boolean",
"default": true,
"description": "Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression."
},
"powershell.codeFormatting.whitespaceAroundOperator": {
"type": "boolean",
"default": true,
"description": "Adds spaces before and after an operator ('=', '+', '-', etc.)."
},
"powershell.codeFormatting.whitespaceAfterSeparator": {
"type": "boolean",
"default": true,
"description": "Adds a space after a separator (',' and ';')."
},
"powershell.codeFormatting.whitespaceInsideBrace": {
"type": "boolean",
"default": true,
"description": "Adds a space after an opening brace ('{') and before a closing brace ('}')."
},
"powershell.codeFormatting.whitespaceBetweenParameters": {
"type": "boolean",
"default": false,
"description": "Removes redundant whitespace between parameters."
},
"powershell.codeFormatting.addWhitespaceAroundPipe": {
"type": "boolean",
"default": true,
"description": "Adds a space before and after the pipeline operator ('|') if it is missing."
},
"powershell.codeFormatting.trimWhitespaceAroundPipe": {
"type": "boolean",
"default": false,
"description": "Trims extraneous whitespace (more than 1 character) before and after the pipeline operator ('|')."
},
"powershell.codeFormatting.ignoreOneLineBlock": {
"type": "boolean",
"default": true,
"description": "Does not reformat one-line code blocks, such as \"if (...) {...} else {...}\"."
},
"powershell.codeFormatting.alignPropertyValuePairs": {
"type": "boolean",
"default": true,
"description": "Align assignment statements in a hashtable or a DSC Configuration."
},
"powershell.codeFormatting.useConstantStrings": {
"type": "boolean",
"default": false,
"description": "Use single quotes if a string is not interpolated and its value does not contain a single quote."
},
"powershell.codeFormatting.useCorrectCasing": {
"type": "boolean",
"default": false,
"description": "Use correct casing for cmdlets."
},
"powershell.integratedConsole.showOnStartup": {
"type": "boolean",
"default": true,
"description": "Shows the integrated console when the PowerShell extension is initialized."
},
"powershell.integratedConsole.focusConsoleOnExecute": {
"type": "boolean",
"default": true,
"description": "Switches focus to the console when a script selection is run or a script file is debugged. This is an accessibility feature. To disable it, set to false."
},
"powershell.integratedConsole.executeInCurrentScope": {
"type": "boolean",
"default": false,
"description": "Decides whether or not to use the call operator `& script.ps1` (default) or the dot source operator `. script.ps1` to run the script using the `powershell.execute` command."
},
"powershell.debugging.createTemporaryIntegratedConsole": {
"type": "boolean",
"default": false,
"description": "Determines whether a temporary PowerShell Integrated Console is created for each debugging session, useful for debugging PowerShell classes and binary modules."
},
"powershell.developer.bundledModulesPath": {
"type": "string",
"description": "Specifies an alternate path to the folder containing modules that are bundled with the PowerShell extension (i.e. PowerShell Editor Services, PSScriptAnalyzer, Plaster)"
},
"powershell.developer.editorServicesLogLevel": {
"type": "string",
"enum": [
"Diagnostic",
"Verbose",
"Normal",
"Warning",
"Error"
],
"default": "Normal",
"description": "Sets the logging verbosity level for the PowerShell Editor Services host executable. Valid values are 'Diagnostic', 'Verbose', 'Normal', 'Warning', and 'Error'"
},
"powershell.developer.editorServicesWaitForDebugger": {
"type": "boolean",
"default": false,
"description": "Launches the language service with the /waitForDebugger flag to force it to wait for a .NET debugger to attach before proceeding."
},
"powershell.developer.featureFlags": {
"type": "array",
"default": null,
"description": "An array of strings that enable experimental features in the PowerShell extension."
},
"powershell.developer.powerShellExeIsWindowsDevBuild": {
"type": "boolean",
"default": false,
"description": "Indicates that the powerShellExePath points to a developer build of Windows PowerShell and configures it for development."
},
"powershell.developer.powerShellExePath": {
"type": "string",
"default": "",
"isExecutable": true,
"description": "Deprecated. Please use the 'powershell.powerShellExePath' setting instead"
}
}
},
"rootPatterns": [
{
"filetype": "ps1",
"patterns": [
"*.ps1",
"*.psd1",
"*.psm1",
".vim",
".git",
".hg"
]
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"extensionDependencies": [],
"dependencies": {
"coc-utils": "0.0.16"
},
"devDependencies": {
"@types/follow-redirects": "^1.8.0",
"@types/node": "~10.17.19",
"typescript": "~4.2.2",
"coc.nvim": "~0.0.77"
}
}