Skip to content

Commit 4446641

Browse files
author
Hannia Valera
committed
reorder conditions for bookmark commands in package.json
1 parent 84ca054 commit 4446641

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@
17171717
},
17181718
{
17191719
"command": "cmake.bookmarks.clearAll",
1720-
"when": "view == cmake.bookmarks && cmake:enableFullFeatureSet",
1720+
"when": "cmake:enableFullFeatureSet && view == cmake.bookmarks",
17211721
"group": "navigation@1"
17221722
}
17231723
],
@@ -2009,22 +2009,22 @@
20092009
},
20102010
{
20112011
"command": "cmake.outline.removeBookmark",
2012-
"when": "view == cmake.bookmarks && cmake:enableFullFeatureSet",
2012+
"when": "cmake:enableFullFeatureSet && view == cmake.bookmarks",
20132013
"group": "inline"
20142014
},
20152015
{
20162016
"command": "cmake.outline.buildTarget",
2017-
"when": "view == cmake.bookmarks && cmake:enableFullFeatureSet",
2017+
"when": "cmake:enableFullFeatureSet && view == cmake.bookmarks",
20182018
"group": "bookmarkActions@1"
20192019
},
20202020
{
20212021
"command": "cmake.outline.debugTarget",
2022-
"when": "view == cmake.bookmarks && cmake:enableFullFeatureSet",
2022+
"when": "cmake:enableFullFeatureSet && view == cmake.bookmarks",
20232023
"group": "bookmarkActions@2"
20242024
},
20252025
{
20262026
"command": "cmake.outline.launchTarget",
2027-
"when": "view == cmake.bookmarks && cmake:enableFullFeatureSet",
2027+
"when": "cmake:enableFullFeatureSet && view == cmake.bookmarks",
20282028
"group": "bookmarkActions@3"
20292029
}
20302030
],

0 commit comments

Comments
 (0)