Skip to content

Commit

Permalink
Remove sort imports from command palette and context menu (#22058)
Browse files Browse the repository at this point in the history
Fixes #20233
  • Loading branch information
ludizhan authored Sep 22, 2023
1 parent 4ed3fa0 commit dfc939b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,6 @@
"command": "python.setInterpreter",
"title": "%python.command.python.setInterpreter.title%"
},
{
"category": "Python Refactor",
"command": "python.sortImports",
"title": "%python.command.python.sortImports.title%"
},
{
"category": "Python",
"command": "python.startREPL",
Expand Down Expand Up @@ -1870,12 +1865,6 @@
"title": "%python.command.python.setInterpreter.title%",
"when": "!virtualWorkspace && shellExecutionSupported"
},
{
"category": "Python Refactor",
"command": "python.sortImports",
"title": "%python.command.python.sortImports.title%",
"when": "!virtualWorkspace && shellExecutionSupported && editorLangId == python"
},
{
"category": "Python",
"command": "python.startREPL",
Expand Down Expand Up @@ -1914,12 +1903,6 @@
"group": "Python",
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted"
},
{
"command": "python.sortImports",
"group": "Refactor",
"title": "%python.command.python.sortImports.title%",
"when": "editorLangId == python && !notebookEditorFocused && !virtualWorkspace && shellExecutionSupported"
},
{
"submenu": "python.runFileInteractive",
"group": "Jupyter2",
Expand Down

0 comments on commit dfc939b

Please sign in to comment.