Skip to content

Commit

Permalink
Fix for showing button in merge result editor (microsoft#21408) (micr…
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig authored Jun 13, 2023
1 parent 0a8dd5e commit ddc44f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1742,12 +1742,12 @@
{
"group": "Python",
"command": "python.createEnvironment-button",
"when": "showCreateEnvButton && resourceLangId == pip-requirements && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && pythonDepsNotInstalled"
"when": "showCreateEnvButton && resourceLangId == pip-requirements && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && !isMergeResultEditor && pythonDepsNotInstalled"
},
{
"group": "Python",
"command": "python.createEnvironment-button",
"when": "showCreateEnvButton && resourceFilename == pyproject.toml && pipInstallableToml && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && pythonDepsNotInstalled"
"when": "showCreateEnvButton && resourceFilename == pyproject.toml && pipInstallableToml && !virtualWorkspace && shellExecutionSupported && !inDiffEditor && !isMergeResultEditor && pythonDepsNotInstalled"
}
],
"editor/context": [
Expand Down

0 comments on commit ddc44f2

Please sign in to comment.