-
Notifications
You must be signed in to change notification settings - Fork 294
/
pvsc.code-workspace
184 lines (184 loc) · 8.67 KB
/
pvsc.code-workspace
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
{
"folders": [
{
"path": ".",
"name": "vscode-jupyter"
},
{
"path": "pythonFiles"
},
{
"path": "src/ipywidgets"
},
{
"name": "vscode-notebook-renderers",
"path": "../vscode-notebook-renderers"
},
{
"name": "vscode-python",
"path": "../vscode-python"
},
{
"name": "vscode-jupyter-powertoys",
"path": "../vscode-jupyter-powertoys"
},
{
"path": "src/test/vscode-notebook-perf"
}
],
"settings": {
"typescript.tsdk": "./node_modules/typescript/lib",
"search.exclude": {
"**/node_modules/**": true,
"**/.vscode test/insider/**": true,
"**/.vscode test/stable/**": true,
"**/.vscode-test/insider/**": true,
"**/.vscode-test/stable/**": true,
"**/out/**": true,
"**/dist/**": true
}
},
"launch": {
"configurations": [
// This configuration allows one to debug multiple extensions at a time.
// The assumption here is that vscode-notebook-renderers is in the same folder as the python extension.
// User is expected to start the compile tasks for both extensions before using this launch config.
{
"type": "extensionHost",
"request": "launch",
"name": "Jupyter + Python Extension",
"args": [
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-python}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-python}/out/**/*.js",
"!${workspaceFolder:vscode-python}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"${workspaceFolder:vscode-jupyter}/dist/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*"
],
"skipFiles": ["<node_internals>/**"]
},
{
"type": "extensionHost",
"request": "launch",
"name": "Jupyter + Python Smoke Tests",
"args": [
"${workspaceFolder:vscode-jupyter}/src/test/testMultiRootWkspc/smokeTests",
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-python}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}",
"--extensionTestsPath=${workspaceFolder:vscode-jupyter}/out/test"
],
"env": {
"CI_PYTHON_PATH": "<PythonPath>",
"VSC_JUPYTER_SMOKE_TEST": "1",
"VSC_JUPYTER_CI_TEST_GREP": "Smoke Test"
},
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-python}/out/**/*.js",
"!${workspaceFolder:vscode-python}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"${workspaceFolder:vscode-jupyter}/dist/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*"
],
"skipFiles": ["<node_internals>/**"]
},
{
"type": "extensionHost",
"request": "launch",
"name": "Jupyter + Python + Renderer Extension",
"args": [
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-python}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-notebook-renderers}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-python}/out/**/*.js",
"!${workspaceFolder:vscode-python}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"${workspaceFolder:vscode-jupyter}/dist/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*",
"${workspaceFolder:vscode-notebook-renderers}/out/**/*.js",
"!${workspaceFolder:vscode-notebook-renderers}/**/node_modules**/*"
],
"skipFiles": ["<node_internals>/**"]
},
{
"type": "extensionHost",
"request": "launch",
"name": "Jupyter + Powertoys Extension",
"args": [
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter-powertoys}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"${workspaceFolder:vscode-jupyter}/dist/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter-powertoys}/out/**/*.js",
"!${workspaceFolder:vscode-jupyter-powertoys}/**/node_modules**/*"
],
"skipFiles": ["<node_internals>/**"]
},
{
"type": "extensionHost",
"request": "launch",
"name": "Jupyter + Renderer Extension",
"args": [
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-notebook-renderers}"
],
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"${workspaceFolder:vscode-jupyter}/dist/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*",
"${workspaceFolder:vscode-notebook-renderers}/out/**/*.js",
"!${workspaceFolder:vscode-notebook-renderers}/**/node_modules**/*"
],
"skipFiles": ["<node_internals>/**"]
},
{
"name": "Native Notebook Tests (Jupyter+Python Extension)",
"type": "extensionHost",
"request": "launch",
"args": [
"${workspaceFolder:vscode-jupyter}/src/test/datascience",
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-python}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}",
"--extensionTestsPath=${workspaceFolder:vscode-jupyter}/out/test"
],
"env": {
"VSC_JUPYTER_CI_TEST_GREP": "VSCode Notebook", // Leave as `VSCode Notebook` to run only Notebook tests.
"VSC_JUPYTER_CI_TEST_INVERT_GREP": "", // Initialize this to invert the grep (exclude tests with value defined in grep).
"CI_PYTHON_PATH": "<PythonPath>", // Update with path to real python interpereter used for testing.
"VSC_JUPYTER_CI_RUN_NON_PYTHON_NB_TEST": "", // Initialize this to run tests again Julia & other kernels.
"TEST_FILES_SUFFIX": "*.vscode.test,*.vscode.common.test",
"VSC_JUPYTER_REMOTE_NATIVE_TEST": "false", // Change to `true` to run the Native Notebook tests with remote jupyter connections.
"VSC_JUPYTER_NON_RAW_NATIVE_TEST": "false", // Change to `true` to run the Native Notebook tests with non-raw kernels (i.e. local jupyter server).
"XVSC_JUPYTER_INSTRUMENT_CODE_FOR_COVERAGE": "1",
"XVSC_JUPYTER_INSTRUMENT_CODE_FOR_COVERAGE_HTML": "1" //Enable to get full coverage repor (in coverage folder).
},
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"${workspaceFolder:vscode-jupyter}/dist/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*"
],
"skipFiles": ["<node_internals>/**"]
}
],
"compounds": []
}
}