From 0561aa1fceae02bf953f857ae765a13ca5ec7c59 Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Fri, 24 Apr 2020 17:45:22 -0700 Subject: [PATCH 1/2] Move startup to global (#11402) --- news/2 Fixes/11352.md | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 news/2 Fixes/11352.md diff --git a/news/2 Fixes/11352.md b/news/2 Fixes/11352.md new file mode 100644 index 000000000000..b71f89ef5fee --- /dev/null +++ b/news/2 Fixes/11352.md @@ -0,0 +1 @@ +Change startup commands to be global. \ No newline at end of file diff --git a/package.json b/package.json index 0c2d06b0203b..ff36ef99972b 100644 --- a/package.json +++ b/package.json @@ -2796,13 +2796,13 @@ "default": "", "deprecationMessage": "This setting has been deprecated in favor of 'runStartupCommands'.", "description": "A series of Python instructions or iPython magic commands separated by '\\n' that will be executed when the interactive window loads.", - "scope": "resource" + "scope": "application" }, "python.dataScience.runStartupCommands": { "type": "string", "default": "", "description": "A series of Python instructions or iPython magic commands separated by '\\n' that will be executed when the interactive window loads. For instance, set this to '%load_ext autoreload\\n%autoreload 2' to automatically reload changes made to imported files without having to restart the interactive session.", - "scope": "resource" + "scope": "application" }, "python.dataScience.debugJustMyCode": { "type": "boolean", From c6c4161c33a5219699b5d7f515d3f57f4cbd6b7d Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Fri, 24 Apr 2020 17:47:55 -0700 Subject: [PATCH 2/2] Update change log --- CHANGELOG.md | 2 ++ news/2 Fixes/11352.md | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 news/2 Fixes/11352.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 28c0dd717af4..44aec3b2bee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ ([#11239](https://github.com/Microsoft/vscode-python/issues/11239)) 1. Warn when using a version of the widget `qgrid` greater than `1.1.1` with the recommendation to downgrade to `1.1.1`. ([#11245](https://github.com/Microsoft/vscode-python/issues/11245)) +1. Change "python.dataScience.runStartupCommands" commands to be a global setting, not a workspace setting. + ([#11352](https://github.com/Microsoft/vscode-python/issues/11352)) ### Thanks diff --git a/news/2 Fixes/11352.md b/news/2 Fixes/11352.md deleted file mode 100644 index b71f89ef5fee..000000000000 --- a/news/2 Fixes/11352.md +++ /dev/null @@ -1 +0,0 @@ -Change startup commands to be global. \ No newline at end of file