Skip to content

Commit

Permalink
MacBook Pro touchbar support (#1263)
Browse files Browse the repository at this point in the history
* Initial touchbar support

* Commands fixed and regrouped, checks added

* Fixed formatting

* Sorted launch part of commands

* Empty uri check added

* Newline returned

* Type error fix

* Reverted another problem fix

* Conditions fixed, inCMakeProject variable removed

* Reverted another problem fix

* Configure command added

* Quick Start added to touchbar

Co-authored-by: Bob Brown <[email protected]>
Co-authored-by: Andreea Isac <[email protected]>
  • Loading branch information
3 people authored Oct 16, 2020
1 parent a9f059b commit e0db022
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,40 @@
"command": "cmake.outline.cleanRebuildAll",
"when": "resourceFilename == CMakeLists.txt && cmake:enableFullFeatureSet"
}
],
"touchBar": [
{
"command": "cmake.configure",
"when": "!cmake:enableFullFeatureSet",
"group": "CMake:start"
},
{
"command": "cmake.quickStart",
"when": "!cmake:enableFullFeatureSet",
"group": "CMake:start"
},
{
"command": "cmake.build",
"alt": "cmake.configure",
"when": "cmake:enableFullFeatureSet && !cmake:isBuilding",
"group": "CMake:build"
},
{
"command": "cmake.stop",
"when": "cmake:enableFullFeatureSet && cmake:isBuilding",
"group": "CMake:build"
},
{
"command": "cmake.debugTarget",
"alt": "cmake.selectLaunchTarget",
"when": "cmake:enableFullFeatureSet && !cmake:hideDebugCommand",
"group": "CMake:run"
},
{
"command": "cmake.launchTarget",
"when": "cmake:enableFullFeatureSet && !cmake:hideLaunchCommand",
"group": "CMake:run"
}
]
},
"configuration": {
Expand Down

0 comments on commit e0db022

Please sign in to comment.