Skip to content

Commit

Permalink
fix: Make sure show/hide are in the right locations (#4087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Jan 29, 2025
1 parent b36aab0 commit 4bc4120
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,22 @@
"view/title": [
{
"command": "cSpell.show",
"when": "!cSpell.context.showDecorations",
"when": "!cSpell.context.showDecorations && view == cSpellIssuesViewByFile",
"group": "navigation"
},
{
"command": "cSpell.hide",
"when": "cSpell.context.showDecorations",
"when": "cSpell.context.showDecorations && view == cSpellIssuesViewByFile",
"group": "navigation"
},
{
"command": "cSpell.show",
"when": "!cSpell.context.showDecorations && activePanel == 'workbench.panel.markers'",
"group": "navigation"
},
{
"command": "cSpell.hide",
"when": "cSpell.context.showDecorations && activePanel == 'workbench.panel.markers'",
"group": "navigation"
}
],
Expand Down

0 comments on commit 4bc4120

Please sign in to comment.