forked from microsoft/vscode-jupyter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pvsc.code-workspace
167 lines (166 loc) · 7.83 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
{
"folders": [
{
"path": ".",
"name": "vscode-jupyter"
},
{
"path": "pythonFiles"
},
{
"path": "src/ipywidgets"
},
{
"name": "vscode-notebook-renderers",
"path": "../vscode-notebook-renderers"
},
{
"name": "vscode-python",
"path": "../vscode-python"
}
],
"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
}
},
"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}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-python}/out/**/*.js",
"!${workspaceFolder:vscode-python}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter}/out/**/*.js",
"!${workspaceFolder:vscode-jupyter}/**/node_modules**/*"
],
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "extensionHost",
"request": "launch",
"name": "Jupyter + Python Smoke Tests",
"args": [
"${workspaceFolder:vscode-jupyter}/src/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"
},
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-python}/out/**/*.js",
"!${workspaceFolder:vscode-python}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter}/out/**/*.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}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-python}/out/**/*.js",
"!${workspaceFolder:vscode-python}/**/node_modules**/*",
"${workspaceFolder:vscode-jupyter}/out/**/*.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 + Renderer Extension",
"args": [
"--enable-proposed-api",
"--extensionDevelopmentPath=${workspaceFolder:vscode-jupyter}",
"--extensionDevelopmentPath=${workspaceFolder:vscode-notebook-renderers}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder:vscode-jupyter}/out/**/*.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_FORCE_REAL_JUPYTER": "true", // Enalbe tests that require Jupyter.
"VSC_JUPYTER_CI_RUN_NON_PYTHON_NB_TEST": "", // Initialize this to run tests again Julia & other kernels.
"VSC_JUPYTER_RUN_NB_TEST": "true", // Initialize this to run notebook tests (must be using VSC Insiders).
"VSC_JUPYTER_WEBVIEW_TEST_MIDDLEWARE": "true", // Initialize to create the webview test middleware
"VSC_JUPYTER_LOAD_EXPERIMENTS_FROM_FILE": "true",
"TEST_FILES_SUFFIX": "vscode.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).
},
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder:vscode-jupyter}/out/**/*.js", "!${workspaceFolder:vscode-jupyter}/**/node_modules**/*"],
"skipFiles": ["<node_internals>/**"]
},
],
"compounds": []
}
}