We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b8316 commit 79314bdCopy full SHA for 79314bd
package.json
@@ -1693,12 +1693,12 @@
1693
{
1694
"group": "Python",
1695
"command": "python.createEnvironment",
1696
- "when": "resourceLangId == pip-requirements && !virtualWorkspace && shellExecutionSupported"
+ "when": "resourceLangId == pip-requirements && !virtualWorkspace && shellExecutionSupported && !inDiffEditor"
1697
},
1698
1699
1700
1701
- "when": "resourceFilename == pyproject.toml && pipInstallableToml && !virtualWorkspace && shellExecutionSupported"
+ "when": "resourceFilename == pyproject.toml && pipInstallableToml && !virtualWorkspace && shellExecutionSupported && !inDiffEditor"
1702
}
1703
],
1704
"editor/context": [
0 commit comments