11{
2- "name" : " PowerShell" ,
3- "displayName" : " PowerShell" ,
4- "version" : " 0.3.1" ,
5- "publisher" : " ms-vscode" ,
6- "description" : " Develop PowerShell scripts in Visual Studio Code!" ,
7- "engines" : { "vscode" : " 0.10.x" },
8- "license" :" SEE LICENSE IN LICENSE.txt" ,
9- "homepage" : " https://github.com/PowerShell/vscode-powershell/blob/master/README.md" ,
10- "categories" : [
11- " Languages" ,
12- " Snippets" ,
13- " Debuggers" ,
14- " Linters"
15- ],
16- "icon" : " images/PowerShell_icon.png" ,
17- "galleryBanner" : {
18- "color" : " #ACD1EC" ,
19- "theme" : " light"
20- },
21- "repository" : {
22- "type" : " git" ,
23- "url" : " https://github.com/PowerShell/vscode-powershell.git"
24- },
25- "main" : " ./out/main" ,
26- "activationEvents" : [" onLanguage:powershell" ],
27- "dependencies" : {
28- "vscode-languageclient" : " 0.10.7"
29- },
30- "devDependencies" : {
31- "vscode" : " 0.10.6" ,
32- "typescript" : " 1.7.3"
33- },
34- "extensionDependencies" : [
2+ "name" : " PowerShell" ,
3+ "displayName" : " PowerShell" ,
4+ "version" : " 0.3.1" ,
5+ "publisher" : " ms-vscode" ,
6+ "description" : " Develop PowerShell scripts in Visual Studio Code!" ,
7+ "engines" : {
8+ "vscode" : " 0.10.x"
9+ },
10+ "license" : " SEE LICENSE IN LICENSE.txt" ,
11+ "homepage" : " https://github.com/PowerShell/vscode-powershell/blob/master/README.md" ,
12+ "categories" : [
13+ " Languages" ,
14+ " Snippets" ,
15+ " Debuggers" ,
16+ " Linters"
17+ ],
18+ "icon" : " images/PowerShell_icon.png" ,
19+ "galleryBanner" : {
20+ "color" : " #ACD1EC" ,
21+ "theme" : " light"
22+ },
23+ "repository" : {
24+ "type" : " git" ,
25+ "url" : " https://github.com/PowerShell/vscode-powershell.git"
26+ },
27+ "main" : " ./out/main" ,
28+ "activationEvents" : [
29+ " onLanguage:powershell"
30+ ],
31+ "dependencies" : {
32+ "vscode-languageclient" : " 0.10.7"
33+ },
34+ "devDependencies" : {
35+ "vscode" : " 0.10.6" ,
36+ "typescript" : " 1.7.3"
37+ },
38+ "extensionDependencies" : [
3539 " vscode.powershell"
3640 ],
3741 "scripts" : {
38- "vscode:prepublish" : " node ./node_modules/vscode/bin/compile" ,
39- "compile" : " node ./node_modules/vscode/bin/compile -watch -p ./"
42+ "vscode:prepublish" : " node ./node_modules/vscode/bin/compile" ,
43+ "compile" : " node ./node_modules/vscode/bin/compile -watch -p ./"
44+ },
45+ "contributes" : {
46+ "keybindings" : [
47+ {
48+ "command" : " PowerShell.OnlineHelp" ,
49+ "key" : " ctrl+f1" ,
50+ "when" : " editorTextFocus && editorLangId == 'powershell'"
51+ },
52+ {
53+ "command" : " PowerShell.ExpandAlias" ,
54+ "key" : " ctrl+f5" ,
55+ "when" : " editorTextFocus && editorLangId == 'powershell'"
56+ },
57+ {
58+ "command" : " PowerShell.RunSelection" ,
59+ "key" : " f8" ,
60+ "when" : " editorTextFocus && editorLangId == 'powershell'"
61+ },
62+ {
63+ "command" : " PowerShell.OpenInISE" ,
64+ "key" : " ctrl+alt+i" ,
65+ "when" : " editorTextFocus && editorLangId == 'powershell'"
66+ }
67+ ],
68+ "commands" : [
69+ {
70+ "command" : " PowerShell.ExpandAlias" ,
71+ "title" : " Expand Alias" ,
72+ "category" : " PowerShell"
73+ },
74+ {
75+ "command" : " PowerShell.OnlineHelp" ,
76+ "title" : " Get online help for command" ,
77+ "category" : " PowerShell"
78+ },
79+ {
80+ "command" : " PowerShell.RunSelection" ,
81+ "title" : " Run selection" ,
82+ "category" : " PowerShell"
83+ },
84+ {
85+ "command" : " PowerShell.OpenInISE" ,
86+ "title" : " Open current file in PowerShell ISE" ,
87+ "category" : " PowerShell"
88+ }
89+ ],
90+ "snippets" : [
91+ {
92+ "language" : " powershell" ,
93+ "path" : " ./snippets/PowerShell.json"
94+ }
95+ ],
96+ "debuggers" : [
97+ {
98+ "type" : " PowerShell" ,
99+ "enableBreakpointsFor" : {
100+ "languageIds" : [
101+ " powershell"
102+ ]
103+ },
104+ "program" : " bin/Microsoft.PowerShell.EditorServices.Host.DebugAdapter.cmd" ,
105+ "configurationAttributes" : {
106+ "launch" : {
107+ "required" : [
108+ " program"
109+ ],
110+ "properties" : {
111+ "program" : {
112+ "type" : " string" ,
113+ "description" : " Workspace relative path to the PowerShell script."
114+ }
115+ }
116+ }
117+ },
118+ "initialConfigurations" : [
119+ {
120+ "name" : " PowerShell" ,
121+ "type" : " PowerShell" ,
122+ "request" : " launch" ,
123+ "program" : " ${workspaceRoot}/SET_SCRIPT_FILE_PATH_HERE.ps1"
124+ }
125+ ]
126+ }
127+ ],
128+ "configuration" : {
129+ "type" : " object" ,
130+ "title" : " PowerShell Configuration" ,
131+ "properties" : {
132+ "powershell.scriptAnalysis.enable" : {
133+ "type" : " boolean" ,
134+ "default" : true ,
135+ "description" : " Enables real-time script analysis using PowerShell Script Analyzer."
136+ },
137+ "powershell.developer.editorServicesHostPath" : {
138+ "type" : " string" ,
139+ "default" : " ../bin/Microsoft.PowerShell.EditorServices.Host.exe" ,
140+ "description" : " Specifies the path to the PowerShell Editor Services host executable."
141+ },
142+ "powershell.developer.editorServicesWaitForDebugger" : {
143+ "type" : " boolean" ,
144+ "default" : false ,
145+ "description" : " Launches the language service with the /waitForDebugger flag to force it to wait for a .NET debugger to attach before proceeding."
146+ }
147+ }
148+ }
40149 },
41- "contributes" : {
42- "keybindings" : [
43- {
44- "command" : " PowerShell.OnlineHelp" ,
45- "key" : " ctrl+f1" ,
46- "when" : " editorTextFocus && editorLangId == 'powershell'"
47- },
48- {
49- "command" : " PowerShell.ExpandAlias" ,
50- "key" : " ctrl+f5" ,
51- "when" : " editorTextFocus && editorLangId == 'powershell'"
52- },
53- {
54- "command" : " PowerShell.RunSelection" ,
55- "key" : " f8" ,
56- "when" : " editorTextFocus && editorLangId == 'powershell'"
57- }
58- ,
59- {
60- "command" : " PowerShell.OpenInISE" ,
61- "key" : " ctrl+alt+i" ,
62- "when" : " editorTextFocus && editorLangId == 'powershell'"
63- }
64- ],
65- "commands" : [
66- {
67- "command" : " PowerShell.ExpandAlias" ,
68- "title" : " Expand Alias" ,
69- "category" : " PowerShell"
70- },
71- {
72- "command" : " PowerShell.OnlineHelp" ,
73- "title" : " Get online help for command" ,
74- "category" : " PowerShell"
75- },
76- {
77- "command" : " PowerShell.RunSelection" ,
78- "title" : " Run selection" ,
79- "category" : " PowerShell"
80- },
81- {
82- "command" : " PowerShell.OpenInISE" ,
83- "title" : " Open current file in PowerShell ISE" ,
84- "category" : " PowerShell"
85- }
86- ],
87- "snippets" : [
88- {
89- "language" : " powershell" ,
90- "path" : " ./snippets/PowerShell.json"
91- }
92- ],
93- "debuggers" : [
94- {
95- "type" : " PowerShell" ,
96- "enableBreakpointsFor" : { "languageIds" : [" powershell" ] },
97- "program" : " bin/Microsoft.PowerShell.EditorServices.Host.DebugAdapter.cmd" ,
98- "configurationAttributes" : {
99- "launch" : {
100- "required" : [ " program" ],
101- "properties" : {
102- "program" : {
103- "type" : " string" ,
104- "description" : " Workspace relative path to the PowerShell script."
105- }
106- }
107- }
108- },
109- "initialConfigurations" : [
110- {
111- "name" : " PowerShell" ,
112- "type" : " PowerShell" ,
113- "request" : " launch" ,
114- "program" : " ${workspaceRoot}/SET_SCRIPT_FILE_PATH_HERE.ps1"
115- }
116- ]
117- }
118- ],
119- "configuration" : {
120- "type" : " object" ,
121- "title" : " PowerShell Configuration" ,
122- "properties" : {
123- "powershell.scriptAnalysis.enable" : {
124- "type" : " boolean" ,
125- "default" : true ,
126- "description" : " Enables real-time script analysis using PowerShell Script Analyzer."
127- },
128- "powershell.developer.editorServicesHostPath" : {
129- "type" : " string" ,
130- "default" : " ../bin/Microsoft.PowerShell.EditorServices.Host.exe" ,
131- "description" : " Specifies the path to the PowerShell Editor Services host executable."
132- },
133- "powershell.developer.editorServicesWaitForDebugger" : {
134- "type" : " boolean" ,
135- "default" : false ,
136- "description" : " Launches the language service with the /waitForDebugger flag to force it to wait for a .NET debugger to attach before proceeding."
137- }
138- }
139- }
140- },
141- "private" : true
142- }
150+ "private" : true
151+ }
0 commit comments