11{
2- "name" : " python" ,
3- "displayName" : " Python" ,
4- "description" : " Python debugging, linting, auto complete, code formatting, sorting imports, go to definition, peek definition, signature view, rename symbol, etc" ,
5- "version" : " 0.0.4" ,
6- "publisher" : " donjayamanne" ,
7- "license" : " SEE LICENSE IN LICENSE or README.MD" ,
8- "homepage" : " https://github.com/DonJayamanne/pythonVSCode/blob/master/README.md" ,
9- "repository" : {
10- "type" : " git" ,
11- "url" : " https://github.com/DonJayamanne/pythonVSCode"
12- },
13- "bugs" : {
14- "url" : " https://github.com/DonJayamanne/pythonVSCode/issues"
15- },
16- "icon" : " images/icon.png" ,
17- "galleryBanner" : {
18- "color" : " #0000FF" ,
19- "theme" : " dark"
20- },
21- "engines" : {
22- "vscode" : " ^0.10.1"
23- },
24- "categories" : [
25- " Languages" ,
26- " Debuggers" ,
27- " Linters" ,
28- " Other"
29- ],
30- "activationEvents" : [
31- " onLanguage:python" ,
32- " onCommand:python.sortImports"
33- ],
34- "main" : " ./out/client/extension" ,
35- "contributes" : {
36- "commands" : [
37- {
38- "command" : " python.sortImports" ,
39- "title" : " Python: Sort Imports"
40- }
2+ "name" : " python" ,
3+ "displayName" : " Python" ,
4+ "description" : " Python debugging, linting, auto complete, code formatting, sorting imports, go to definition, peek definition, signature view, rename symbol, etc" ,
5+ "version" : " 0.0.4" ,
6+ "publisher" : " donjayamanne" ,
7+ "license" : " SEE LICENSE IN LICENSE or README.MD" ,
8+ "homepage" : " https://github.com/DonJayamanne/pythonVSCode/blob/master/README.md" ,
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " https://github.com/DonJayamanne/pythonVSCode"
12+ },
13+ "bugs" : {
14+ "url" : " https://github.com/DonJayamanne/pythonVSCode/issues"
15+ },
16+ "icon" : " images/icon.png" ,
17+ "galleryBanner" : {
18+ "color" : " #0000FF" ,
19+ "theme" : " dark"
20+ },
21+ "engines" : {
22+ "vscode" : " ^0.10.1"
23+ },
24+ "categories" : [
25+ " Languages" ,
26+ " Debuggers" ,
27+ " Linters" ,
28+ " Snippets" ,
29+ " Other"
4130 ],
42- "debuggers" : [
43- {
44- "type" : " python" ,
45- "label" : " Python" ,
46- "enableBreakpointsFor" : {
47- "languageIds" : [
48- " python"
49- ]
50- },
51- "program" : " ./out/client/debugger/main.js" ,
52- "runtime" : " node" ,
53- "configurationAttributes" : {
54- "launch" : {
55- "required" : [
56- " program"
57- ],
31+ "activationEvents" : [
32+ " onLanguage:python" ,
33+ " onCommand:python.sortImports"
34+ ],
35+ "main" : " ./out/client/extension" ,
36+ "contributes" : {
37+ "snippets" : [
38+ {
39+ "language" : " python" ,
40+ "path" : " ./snippets/python.json"
41+ }
42+ ],
43+ "commands" : [
44+ {
45+ "command" : " python.sortImports" ,
46+ "title" : " Python: Sort Imports"
47+ }
48+ ],
49+ "debuggers" : [
50+ {
51+ "type" : " python" ,
52+ "label" : " Python" ,
53+ "enableBreakpointsFor" : {
54+ "languageIds" : [
55+ " python"
56+ ]
57+ },
58+ "program" : " ./out/client/debugger/main.js" ,
59+ "runtime" : " node" ,
60+ "configurationAttributes" : {
61+ "launch" : {
62+ "required" : [
63+ " program"
64+ ],
65+ "properties" : {
66+ "program" : {
67+ "type" : " string" ,
68+ "description" : " Workspace relative path to a text file." ,
69+ "default" : " __init__.py"
70+ },
71+ "stopOnEntry" : {
72+ "type" : " boolean" ,
73+ "description" : " Automatically stop after launch." ,
74+ "default" : true
75+ }
76+ }
77+ }
78+ },
79+ "initialConfigurations" : [
80+ {
81+ "name" : " Python" ,
82+ "type" : " python" ,
83+ "request" : " launch" ,
84+ "program" : " __init__.py" ,
85+ "stopOnEntry" : true
86+ }
87+ ]
88+ }
89+ ],
90+ "configuration" : {
91+ "type" : " object" ,
92+ "title" : " Python Configuration" ,
5893 "properties" : {
59- "program" : {
60- "type" : " string" ,
61- "description" : " Workspace relative path to a text file." ,
62- "default" : " __init__.py"
63- },
64- "stopOnEntry" : {
65- "type" : " boolean" ,
66- "description" : " Automatically stop after launch." ,
67- "default" : true
68- }
94+ "python.linting.enabled" : {
95+ "type" : " boolean" ,
96+ "default" : true ,
97+ "description" : " Whether to lint Python files."
98+ },
99+ "python.linting.pylintEnabled" : {
100+ "type" : " boolean" ,
101+ "default" : true ,
102+ "description" : " Whether to lint Python files using pylint."
103+ },
104+ "python.linting.pep8Enabled" : {
105+ "type" : " boolean" ,
106+ "default" : false ,
107+ "description" : " Whether to lint Python files using pep8"
108+ },
109+ "python.linting.lintOnTextChange" : {
110+ "type" : " boolean" ,
111+ "default" : true ,
112+ "description" : " Whether to lint Python files when modified."
113+ },
114+ "python.linting.lintOnSave" : {
115+ "type" : " boolean" ,
116+ "default" : true ,
117+ "description" : " Whether to lint Python files when saved."
118+ },
119+ "python.linting.maxNumberOfProblems" : {
120+ "type" : " number" ,
121+ "default" : 100 ,
122+ "description" : " Controls the maximum number of problems produced by the server."
123+ },
124+ "python.linting.pylintCategorySeverity.convention" : {
125+ "type" : " string" ,
126+ "default" : " Hint" ,
127+ "description" : " Severity of Pylint message type 'Convention/C'. Possible values include Error, Hint, Warning and Information."
128+ },
129+ "python.linting.pylintCategorySeverity.refactor" : {
130+ "type" : " string" ,
131+ "default" : " Hint" ,
132+ "description" : " Severity of Pylint message type 'Refactor/R'. Possible values include Error, Hint, Warning and Information."
133+ },
134+ "python.linting.pylintCategorySeverity.warning" : {
135+ "type" : " string" ,
136+ "default" : " Warning" ,
137+ "description" : " Severity of Pylint message type 'Warning/W'. Possible values include Error, Hint, Warning and Information."
138+ },
139+ "python.linting.pylintCategorySeverity.error" : {
140+ "type" : " string" ,
141+ "default" : " Error" ,
142+ "description" : " Severity of Pylint message type 'Error/E'. Possible values include Error, Hint, Warning and Information."
143+ },
144+ "python.linting.pylintCategorySeverity.fatal" : {
145+ "type" : " string" ,
146+ "default" : " Error" ,
147+ "description" : " Severity of Pylint message type 'Fatal/F'. Possible values include Error, Hint, Warning and Information."
148+ },
149+ "python.linting.pylintPath" : {
150+ "type" : " string" ,
151+ "default" : " pylint" ,
152+ "description" : " Path to Pylint, you can use a custom version of pylint by modifying this setting to include the full path."
153+ },
154+ "python.linting.pep8Path" : {
155+ "type" : " string" ,
156+ "default" : " pep8" ,
157+ "description" : " Path to pep8, you can use a custom version of pep8 by modifying this setting to include the full path."
158+ },
159+ "python.formatting.provider" : {
160+ "type" : " string" ,
161+ "default" : " autopep8" ,
162+ "description" : " Provider for formatting. Possible options include 'autopep8' and 'yapf'."
163+ },
164+ "python.formatting.autopep8Path" : {
165+ "type" : " string" ,
166+ "default" : " autopep8" ,
167+ "description" : " Path to autopep8, you can use a custom version of autopep8 by modifying this setting to include the full path."
168+ },
169+ "python.formatting.yapfPath" : {
170+ "type" : " string" ,
171+ "default" : " " ,
172+ "description" : " Path to yapf, you can use a custom version of yapf by modifying this setting to include the full path."
173+ }
69174 }
70- }
71- },
72- "initialConfigurations" : [
73- {
74- "name" : " Python" ,
75- "type" : " python" ,
76- "request" : " launch" ,
77- "program" : " __init__.py" ,
78- "stopOnEntry" : true
79- }
80- ]
81- }
82- ],
83- "configuration" : {
84- "type" : " object" ,
85- "title" : " Python Configuration" ,
86- "properties" : {
87- "python.linting.enabled" :{
88- "type" : " boolean" ,
89- "default" : true ,
90- "description" : " Whether to lint Python files."
91- },
92- "python.linting.pylintEnabled" :{
93- "type" : " boolean" ,
94- "default" : true ,
95- "description" : " Whether to lint Python files using pylint."
96- },
97- "python.linting.pep8Enabled" :{
98- "type" : " boolean" ,
99- "default" : false ,
100- "description" : " Whether to lint Python files using pep8"
101- },
102- "python.linting.lintOnTextChange" :{
103- "type" : " boolean" ,
104- "default" : true ,
105- "description" : " Whether to lint Python files when modified."
106- },
107- "python.linting.lintOnSave" :{
108- "type" : " boolean" ,
109- "default" : true ,
110- "description" : " Whether to lint Python files when saved."
111- },
112- "python.linting.maxNumberOfProblems" :{
113- "type" : " number" ,
114- "default" : 100 ,
115- "description" : " Controls the maximum number of problems produced by the server."
116- },
117- "python.linting.pylintCategorySeverity.convention" :{
118- "type" : " string" ,
119- "default" : " Hint" ,
120- "description" : " Severity of Pylint message type 'Convention/C'. Possible values include Error, Hint, Warning and Information."
121- },
122- "python.linting.pylintCategorySeverity.refactor" :{
123- "type" : " string" ,
124- "default" : " Hint" ,
125- "description" : " Severity of Pylint message type 'Refactor/R'. Possible values include Error, Hint, Warning and Information."
126- },
127- "python.linting.pylintCategorySeverity.warning" :{
128- "type" : " string" ,
129- "default" : " Warning" ,
130- "description" : " Severity of Pylint message type 'Warning/W'. Possible values include Error, Hint, Warning and Information."
131- },
132- "python.linting.pylintCategorySeverity.error" :{
133- "type" : " string" ,
134- "default" : " Error" ,
135- "description" : " Severity of Pylint message type 'Error/E'. Possible values include Error, Hint, Warning and Information."
136- },
137- "python.linting.pylintCategorySeverity.fatal" :{
138- "type" : " string" ,
139- "default" : " Error" ,
140- "description" : " Severity of Pylint message type 'Fatal/F'. Possible values include Error, Hint, Warning and Information."
141- },
142- "python.linting.pylintPath" :{
143- "type" : " string" ,
144- "default" : " pylint" ,
145- "description" : " Path to Pylint, you can use a custom version of pylint by modifying this setting to include the full path."
146- },
147- "python.linting.pep8Path" :{
148- "type" : " string" ,
149- "default" : " pep8" ,
150- "description" : " Path to pep8, you can use a custom version of pep8 by modifying this setting to include the full path."
151- },
152- "python.formatting.provider" :{
153- "type" : " string" ,
154- "default" : " autopep8" ,
155- "description" : " Provider for formatting. Possible options include 'autopep8' and 'yapf'."
156- },
157- "python.formatting.autopep8Path" :{
158- "type" : " string" ,
159- "default" : " autopep8" ,
160- "description" : " Path to autopep8, you can use a custom version of autopep8 by modifying this setting to include the full path."
161- },
162- "python.formatting.yapfPath" :{
163- "type" : " string" ,
164- "default" : " " ,
165- "description" : " Path to yapf, you can use a custom version of yapf by modifying this setting to include the full path."
166- }
167- }
175+ }
176+ },
177+ "scripts" : {
178+ "vscode:prepublish" : " node ./node_modules/vscode/bin/compile" ,
179+ "compile" : " node ./node_modules/vscode/bin/compile -watch -p ./ && installServerIntoExtension ./out ./src/server/package.json ./src/server/tsconfig.json"
180+ },
181+ "dependencies" : {
182+ "named-js-regexp" : " ^1.3.1" ,
183+ "tmp" : " 0.0.28" ,
184+ "vscode-debugadapter" : " ^1.0.1" ,
185+ "vscode-debugprotocol" : " ^1.0.1" ,
186+ "vscode-languageclient" : " ^1.1.0" ,
187+ "vscode-languageserver" : " ^1.1.0"
188+ },
189+ "devDependencies" : {
190+ "typescript" : " ^1.6.2" ,
191+ "vscode" : " 0.10.x"
168192 }
169- },
170- "scripts" : {
171- "vscode:prepublish" : " node ./node_modules/vscode/bin/compile" ,
172- "compile" : " node ./node_modules/vscode/bin/compile -watch -p ./ && installServerIntoExtension ./out ./src/server/package.json ./src/server/tsconfig.json"
173- },
174- "dependencies" : {
175- "named-js-regexp" : " ^1.3.1" ,
176- "tmp" : " 0.0.28" ,
177- "vscode-debugadapter" : " ^1.0.1" ,
178- "vscode-debugprotocol" : " ^1.0.1" ,
179- "vscode-languageclient" : " ^1.1.0" ,
180- "vscode-languageserver" : " ^1.1.0"
181- },
182- "devDependencies" : {
183- "typescript" : " ^1.6.2" ,
184- "vscode" : " 0.10.x"
185- }
186- }
193+ }
0 commit comments