Skip to content

Commit 79bc5a4

Browse files
committed
Warning for legacy activateEnvironment and activateEnvInCurrentTerminal
1 parent bec2bbd commit 79bc5a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,13 +612,13 @@
612612
},
613613
"python.terminal.activateEnvInCurrentTerminal": {
614614
"default": false,
615-
"description": "%python.terminal.activateEnvInCurrentTerminal.description%",
615+
"markdownDescription": "%python.terminal.activateEnvInCurrentTerminal.description%",
616616
"scope": "resource",
617617
"type": "boolean"
618618
},
619619
"python.terminal.activateEnvironment": {
620620
"default": true,
621-
"description": "%python.terminal.activateEnvironment.description%",
621+
"markdownDescription": "%python.terminal.activateEnvironment.description%",
622622
"scope": "resource",
623623
"type": "boolean"
624624
},

package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
"python.tensorBoard.logDirectory.markdownDeprecationMessage": "Tensorboard support has been moved to the extension [Tensorboard extension](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.tensorboard). Instead use the setting `tensorBoard.logDirectory`.",
7575
"python.tensorBoard.logDirectory.deprecationMessage": "Tensorboard support has been moved to the extension Tensorboard extension. Instead use the setting `tensorBoard.logDirectory`.",
7676
"python.terminal.shellIntegration.enabled.description": "Enable [shell integration](https://code.visualstudio.com/docs/terminal/shell-integration) for the terminals running python. Shell integration enhances the terminal experience by enabling command decorations, run recent command, improving accessibility among other things. Note: PyREPL (available in Python 3.13+) is automatically disabled when shell integration is enabled to avoid cursor indentation issues.",
77-
"python.terminal.activateEnvInCurrentTerminal.description": "Activate Python Environment in the current Terminal on load of the Extension.",
78-
"python.terminal.activateEnvironment.description": "Activate Python Environment in all Terminals created.",
77+
"python.terminal.activateEnvInCurrentTerminal.description": "Activate Python Environment in the current Terminal on load of the Extension.\n\n**Note:** This setting will be deprecated once the [Python Environments extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python-environment-tools) is fully rolled out. Terminal activation is being moved to the Python Environments extension, where it is controlled by the `python-envs.terminal.autoActivationType` setting. If you already have the Python Environments extension installed, this setting has no effect.",
78+
"python.terminal.activateEnvironment.description": "Activate Python Environment in all Terminals created.\n\n**Note:** This setting will be deprecated once the [Python Environments extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python-environment-tools) is fully rolled out. Terminal activation is being moved to the Python Environments extension, where it is controlled by the `python-envs.terminal.autoActivationType` setting.",
7979
"python.terminal.executeInFileDir.description": "When executing a file in the terminal, whether to use execute in the file's directory, instead of the current open folder.",
8080
"python.terminal.focusAfterLaunch.description": "When launching a python terminal, whether to focus the cursor on the terminal.",
8181
"python.terminal.launchArgs.description": "Python launch arguments to use when executing a file in the terminal.",

0 commit comments

Comments
 (0)