Skip to content

Commit ddc44f2

Browse files
authored
Fix for showing button in merge result editor (microsoft#21408) (microsoft#21409)
Closes microsoft#21398
1 parent 0a8dd5e commit ddc44f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,12 +1742,12 @@
17421742
{
17431743
"group": "Python",
17441744
"command": "python.createEnvironment-button",
1745-
"when": "showCreateEnvButton && resourceLangId == pip-requirements && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && pythonDepsNotInstalled"
1745+
"when": "showCreateEnvButton && resourceLangId == pip-requirements && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && !isMergeResultEditor && pythonDepsNotInstalled"
17461746
},
17471747
{
17481748
"group": "Python",
17491749
"command": "python.createEnvironment-button",
1750-
"when": "showCreateEnvButton && resourceFilename == pyproject.toml && pipInstallableToml && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && pythonDepsNotInstalled"
1750+
"when": "showCreateEnvButton && resourceFilename == pyproject.toml && pipInstallableToml && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && !isMergeResultEditor && pythonDepsNotInstalled"
17511751
}
17521752
],
17531753
"editor/context": [

0 commit comments

Comments
 (0)