Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2 Fixes/11352.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change startup commands to be global.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2750,13 +2750,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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens to a customer that has it set at the workspace level already?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently nothing. This isn't working.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like they lose the value.

},
"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",
Expand Down