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
Update naming of console type to be consistent with vscode (#5245)
* Added new Diagnostic code
* update naming of console type from none to internalConsole
* add news item for change
* Modify intellisense to show internalConsole instead of none
* Modified diagnostic file names
Copy file name to clipboardExpand all lines: package.nls.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -175,6 +175,7 @@
175
175
"diagnostics.invalidPythonPathInDebuggerSettings": "You need to select a Python interpreter before you start debugging.\n\nTip: click on \"Select Python Interpreter\" in the status bar.",
176
176
"diagnostics.invalidPythonPathInDebuggerLaunch": "The Python path in your debug configuration is invalid.",
177
177
"diagnostics.invalidDebuggerTypeDiagnostic": "Your launch.json file needs to be updated to change the \"pythonExperimental\" debug configurations to use the \"python\" debugger type, otherwise Python debugging may not work. Would you like to automatically update your launch.json file now?",
178
+
"diagnostics.consoleTypeDiagnostic": "Your launch.json file needs to be updated to change the console type string from \"none\" to \"internalConsole\", otherwise Python debugging may not work. Would you like to automatically update your launch.json file now?",
178
179
"diagnostics.justMyCodeDiagnostic": "Configuration \"debugStdLib\" in launch.json is no longer supported. It's recommended to replace it with \"justMyCode\", which is the exact opposite of using \"debugStdLib\". Would you like to automatically update your launch.json file to do that?",
"diagnostics.bannerLabelNo": "No, I will do it later",
@@ -250,4 +251,4 @@
250
251
"DataScience.liveShareInvalid": "One or more guests in the session do not have the Python [extension](https://marketplace.visualstudio.com/itemdetails?itemName=ms-python.python) installed.\r\nYour Live Share session cannot continue and will be closed.",
Copy file name to clipboardExpand all lines: src/client/common/utils/localize.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ export namespace Diagnostics {
17
17
exportconstinvalidPythonPathInDebuggerSettings=localize('diagnostics.invalidPythonPathInDebuggerSettings','You need to select a Python interpreter before you start debugging.\n\nTip: click on "Select Python Interpreter" in the status bar.');
18
18
exportconstinvalidPythonPathInDebuggerLaunch=localize('diagnostics.invalidPythonPathInDebuggerLaunch','The Python path in your debug configuration is invalid.');
19
19
exportconstinvalidDebuggerTypeDiagnostic=localize('diagnostics.invalidDebuggerTypeDiagnostic','Your launch.json file needs to be updated to change the "pythonExperimental" debug configurations to use the "python" debugger type, otherwise Python debugging may not work. Would you like to automatically update your launch.json file now?');
20
+
exportconstconsoleTypeDiagnostic=localize('diagnostics.consoleTypeDiagnostic','Your launch.json file needs to be updated to change the console type string from \"none\" to \"internalConsole\", otherwise Python debugging may not work. Would you like to automatically update your launch.json file now?');
20
21
exportconstjustMyCodeDiagnostic=localize('diagnostics.justMyCodeDiagnostic','Configuration "debugStdLib" in launch.json is no longer supported. It\'s recommended to replace it with "justMyCode", which is the exact opposite of using "debugStdLib". Would you like to automatically update your launch.json file to do that?');
exportconstinvalidTestSettings=localize('diagnostics.invalidTestSettings','Your settings needs to be updated to change the setting "python.unitTest." to "python.testing.", otherwise testing Python code using the extension may not work. Would you like to automatically update your settings now?');
0 commit comments