You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show warning and allow user to turn off smart send for deprecated Python code (microsoft#22353)
Resolves: microsoft#22341microsoft#22340
Showing warning message after detecting user is on Python file with
deprecated Python code, and are attempting to run smart send via
shift+enter action. Allow user to turn off this via workspace setting.
---------
Co-authored-by: Courtney Webster <[email protected]>
Co-authored-by: Kartik Raj <[email protected]>
Copy file name to clipboardExpand all lines: package.nls.json
+1
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@
59
59
"python.missingPackage.severity.description": "Set severity of missing packages in requirements.txt or pyproject.toml",
60
60
"python.pipenvPath.description": "Path to the pipenv executable to use for activation.",
61
61
"python.poetryPath.description": "Path to the poetry executable.",
62
+
"python.EnableREPLSmartSend.description": "Toggle Smart Send for the Python REPL. Smart Send enables sending the smallest runnable block of code to the REPL on Shift+Enter and moves the cursor accordingly.",
62
63
"python.tensorBoard.logDirectory.description": "Set this setting to your preferred TensorBoard log directory to skip log directory prompt when starting TensorBoard.",
63
64
"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`.",
64
65
"python.tensorBoard.logDirectory.deprecationMessage": "Tensorboard support has been moved to the extension Tensorboard extension. Instead use the setting `tensorBoard.logDirectory`.",
"The Python extension now includes Pylance to improve completions, code navigation, overall performance and much more! You can learn more about the update and learn how to change your language server [here](https://aka.ms/new-python-bundle).\n\nRead Pylance's license [here](https://marketplace.visualstudio.com/items/ms-python.vscode-pylance/license).",
44
45
);
46
+
exportconstinvalidSmartSendMessage=l10n.t(`Python is unable to parse the code provided. Please
47
+
turn off Smart Send if you wish to always run line by line or explicitly select code
48
+
to force run. See [logs](command:${Commands.ViewOutput}) for more details`);
0 commit comments