Skip to content

Commit 81a8d7d

Browse files
authored
Disable custom editor API (#10604)
1 parent f7bf370 commit 81a8d7d

File tree

5 files changed

+8
-21
lines changed

5 files changed

+8
-21
lines changed

.vscode/launch.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
1010
"args": [
11-
"--extensionDevelopmentPath=${workspaceFolder}",
12-
"--enable-proposed-api",
13-
"ms-python.python"
11+
"--extensionDevelopmentPath=${workspaceFolder}"
1412
],
1513
"stopOnEntry": false,
1614
"smartStep": true,

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "2020.4.0-dev",
66
"languageServerVersion": "0.5.30",
77
"publisher": "ms-python",
8-
"enableProposedApi": true,
8+
"enableProposedApi": false,
99
"author": {
1010
"name": "Microsoft Corporation"
1111
},
@@ -2869,18 +2869,7 @@
28692869
"when": "testsDiscovered"
28702870
}
28712871
]
2872-
},
2873-
"customEditors": [
2874-
{
2875-
"viewType": "NativeEditorProvider.ipynb",
2876-
"displayName": "Jupyter Notebook",
2877-
"selector": [
2878-
{
2879-
"filenamePattern": "*.ipynb"
2880-
}
2881-
]
2882-
}
2883-
]
2872+
}
28842873
},
28852874
"scripts": {
28862875
"package": "gulp clean && gulp prePublishBundle && vsce package -o ms-python-insiders.vsix",

src/test/debuggerTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function start() {
1818
extensionDevelopmentPath: EXTENSION_ROOT_DIR_FOR_TESTS,
1919
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
2020
launchArgs: [workspacePath],
21-
version: 'insiders',
21+
version: 'stable',
2222
extensionTestsEnv: { ...process.env, UITEST_DISABLE_INSIDERS: '1' }
2323
}).catch(ex => {
2424
console.error('End Debugger tests (with errors)', ex);

src/test/multiRootTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function start() {
1313
runTests({
1414
extensionDevelopmentPath: EXTENSION_ROOT_DIR_FOR_TESTS,
1515
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
16-
launchArgs: [workspacePath, '--enable-proposed-api', 'ms-python.python'],
17-
version: 'insiders',
16+
launchArgs: [workspacePath],
17+
version: 'stable',
1818
extensionTestsEnv: { ...process.env, UITEST_DISABLE_INSIDERS: '1' }
1919
}).catch(ex => {
2020
console.error('End Multiroot tests (with errors)', ex);

src/test/standardTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function start() {
1919
runTests({
2020
extensionDevelopmentPath: extensionDevelopmentPath,
2121
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
22-
launchArgs: [workspacePath, '--enable-proposed-api', 'ms-python.python'],
23-
version: 'insiders',
22+
launchArgs: [workspacePath],
23+
version: 'stable',
2424
extensionTestsEnv: { ...process.env, UITEST_DISABLE_INSIDERS: '1' }
2525
}).catch(ex => {
2626
console.error('End Standard tests (with errors)', ex);

0 commit comments

Comments
 (0)