Skip to content

Commit 0c4fa40

Browse files
author
Kartik Raj
authored
Change name of command to run Python files in separate terminals (#21229)
Closes #14094
1 parent 1533818 commit 0c4fa40

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,9 @@
306306
},
307307
{
308308
"category": "Python",
309-
"command": "python.execInNewTerminal",
309+
"command": "python.execInDedicatedTerminal",
310310
"icon": "$(play)",
311-
"title": "%python.command.python.execInNewTerminal.title%"
311+
"title": "%python.command.python.execInDedicatedTerminal.title%"
312312
},
313313
{
314314
"category": "Python",
@@ -1634,9 +1634,9 @@
16341634
},
16351635
{
16361636
"category": "Python",
1637-
"command": "python.execInNewTerminal",
1637+
"command": "python.execInDedicatedTerminal",
16381638
"icon": "$(play)",
1639-
"title": "%python.command.python.execInNewTerminal.title%",
1639+
"title": "%python.command.python.execInDedicatedTerminal.title%",
16401640
"when": "false && editorLangId == python"
16411641
},
16421642
{
@@ -1798,9 +1798,9 @@
17981798
"when": "resourceLangId == python && !isInDiffEditor && !virtualWorkspace && shellExecutionSupported"
17991799
},
18001800
{
1801-
"command": "python.execInNewTerminal",
1801+
"command": "python.execInDedicatedTerminal",
18021802
"group": "navigation@0",
1803-
"title": "%python.command.python.execInNewTerminal.title%",
1803+
"title": "%python.command.python.execInDedicatedTerminal.title%",
18041804
"when": "resourceLangId == python && !isInDiffEditor && !virtualWorkspace && shellExecutionSupported"
18051805
},
18061806
{

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"python.command.python.execInTerminal.title": "Run Python File in Terminal",
88
"python.command.python.debugInTerminal.title": "Debug Python File",
99
"python.command.python.execInTerminalIcon.title": "Run Python File",
10-
"python.command.python.execInNewTerminal.title": "Run Python File in Separate Terminal",
10+
"python.command.python.execInDedicatedTerminal.title": "Run Python File in Dedicated Terminal",
1111
"python.command.python.setInterpreter.title": "Select Interpreter",
1212
"python.command.python.clearWorkspaceInterpreter.title": "Clear Workspace Interpreter Setting",
1313
"python.command.python.viewOutput.title": "Show Output",

src/client/common/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export namespace Commands {
4444
export const Enable_SourceMap_Support = 'python.enableSourceMapSupport';
4545
export const Exec_In_Terminal = 'python.execInTerminal';
4646
export const Exec_In_Terminal_Icon = 'python.execInTerminal-icon';
47-
export const Exec_In_Separate_Terminal = 'python.execInNewTerminal';
47+
export const Exec_In_Separate_Terminal = 'python.execInDedicatedTerminal';
4848
export const Exec_Selection_In_Django_Shell = 'python.execSelectionInDjangoShell';
4949
export const Exec_Selection_In_Terminal = 'python.execSelectionInTerminal';
5050
export const GetSelectedInterpreterPath = 'python.interpreterPath';

0 commit comments

Comments
 (0)