{"id":13583185,"url":"https://github.com/on2-dev/nasc-vscode-mac-touchbar","last_synced_at":"2025-04-06T18:31:57.659Z","repository":{"id":55673079,"uuid":"108774101","full_name":"on2-dev/nasc-vscode-mac-touchbar","owner":"on2-dev","description":"A customization for your the macbook pro touch bar buttons with features for VSCode.","archived":false,"fork":false,"pushed_at":"2022-09-24T11:26:40.000Z","size":331,"stargazers_count":114,"open_issues_count":26,"forks_count":34,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-05T23:41:33.084Z","etag":null,"topics":["functions","macbook","macbook-pro","shortcuts","touchbar","touchbar-support","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/on2-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-29T21:45:19.000Z","updated_at":"2024-10-27T13:38:42.000Z","dependencies_parsed_at":"2022-08-15T06:10:27.472Z","dependency_job_id":null,"html_url":"https://github.com/on2-dev/nasc-vscode-mac-touchbar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/on2-dev%2Fnasc-vscode-mac-touchbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/on2-dev%2Fnasc-vscode-mac-touchbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/on2-dev%2Fnasc-vscode-mac-touchbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/on2-dev%2Fnasc-vscode-mac-touchbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/on2-dev","download_url":"https://codeload.github.com/on2-dev/nasc-vscode-mac-touchbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247531072,"owners_count":20953887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["functions","macbook","macbook-pro","shortcuts","touchbar","touchbar-support","vscode","vscode-extension"],"created_at":"2024-08-01T15:03:18.881Z","updated_at":"2025-04-06T18:31:57.170Z","avatar_url":"https://github.com/on2-dev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Nasc's Macbook Pro Touch Bar features for VSCode\n\nThis adds a few useful features to your Macbook Pro's touch bar while you are working in VSCode.\n**Read the notes in the end of this document**\n\nInstallation link (if your are not seeing this from inside VSCode): https://marketplace.visualstudio.com/items?itemName=felipe.nasc-touchbar#overview\n\n## Features\n\nThis is how your touchbar will look like:\n\n![Touchbar visualization](images/nasc-macbook-pro-vscode-touch-bar.png)\n\n![Touchbar visualization](images/editor-group.png)\n![Touchbar visualization](images/functions-group.png)\n![Touchbar visualization](images/source-group.png)\n![Touchbar visualization](images/cursors-group.png)\n![Touchbar visualization](images/tools-groups.png)\n\nThe list of features are:\n\n- Go to definition\n- Add cursor above\n- Add cursor below\n- Run command\n- Toggle side bar\n- Toggle Panel/terminal\n- Rename/replace all\n- Duplicate lines\n- Toggle white space characters\n- Peek definition\n- Show references\n- Settings\n- Indent\n- Outdent\n- Jump to matching bracket\n- Block comment\n- Comment line\n- Select next\n- Go to next\n- Open Dash / Zeal\n- Search Dash / Zeal with current selection\n\n## Settings\n\nYou can choose the buttons by setting the following settings.  \nPlease have in mind the limit of 5 active buttons (if you have the OS control strip enabled, 9 buttons if you don't). More than that will break the layout and the buttons will not be visible. It is possible to hide the default VSCode buttons, see **NOTES** at the end of the documentation.\n\n- \"nasc-touchbar.goToDefinition\": (default _true_) Go to the function or variable definition\n- \"nasc-touchbar.addCursorAbove\": (default _false_) Add a cursor in the line above\n- \"nasc-touchbar.addCursorBelow\": (default _true_) Add a cursor in the line below\n- \"nasc-touchbar.selectNext\": (default _false_) Selects next match \n- \"nasc-touchbar.toggleSidebar\": (default _false_) Toggles the sidebar\n- \"nasc-touchbar.togglePanel\": (default _true_) Toggles the panel in the bottom of the editor\n- \"nasc-touchbar.showCommands\": (default _true_) Shows the _run command_ prompt\n- \"nasc-touchbar.rename\": (default _true_) Rename (replace all) variable or function names\n- \"nasc-touchbar.copyLineDown\": (default _false_) Duplicates the current line (or selected lines) \n- \"nasc-touchbar.goToNext\": (default _false_) Go to next match\n- \"nasc-touchbar.toggleWhiteSpace\": (default _false_) Show or hide white spaces\n- \"nasc-touchbar.peekDefinition\": (default _false_) Peek definition/declaration\n- \"nasc-touchbar.showReferences\": (default _false_) List references who use the current symbol\n- \"nasc-touchbar.settings\": (default _false_) Open user settings\n- \"nasc-touchbar.indent\": (default _false_) Indent text\n- \"nasc-touchbar.outdent\": (default _false_) Outdent text\n- \"nasc-touchbar.jumpToBracket\": (default _false_) Jump to matching bracket\n- \"nasc-touchbar.blockComment\": (default _false_) Toggles block comments ( /* ... */ ) for the current selection\n- \"nasc-touchbar.commentLine\": (default _false_) Toggles line comments ( // ) for the current selection\n- \"nasc-touchbar.formatDocument\": (default _false_) Formats the current document\n- \"nasc-touchbar.docs\": (default _false_) Show documentation for current file in Dash / Zeal. Requires extension _deerawan.vscode-dash_\n- \"nasc-touchbar.docsSelection\": (default _false_) Shows documentation for current selection in Dash / Zeal, depending on the doctype. Requires extension _deerawan.vscode-dash_ If \"nasc-touchbar.docs\" is enabled, then the docs icon will display when there is no selection, and will swap to this tool once text is selected. \n- \"nasc-touchbar.enableFuncGroup\": (default _false_) Adds a group with the buttons related to _Functions_\n- \"nasc-touchbar.enableSrcGroup\": (default _false_)  Adds a group with the buttons related to the _Source code_\n- \"nasc-touchbar.enableCursorsGroup\": (default _false_)  Adds a group with the buttons related to your _cursors_\n- \"nasc-touchbar.enableEditorGroup\": (default _false_)  Adds a group with the buttons related to _editor's tools_\n\n## Groups\n\nWhen you enable groups, each group has a bunch of features.  \nHere they are:\n\nFunctions\n\n    - Close group\n    - Peek definition\n    - Show references\n    - Rename/replace all\n    - Jump to matching bracket\n\nSource\n\n    - Close group\n    - Duplicate lines\n    - Indent\n    - Outdent\n    - Block comment\n\nCursors\n\n    - Close group\n    - Select next\n    - Go to next\n    - Add cursor above\n    - Add cursor bellow\n\nEditor\n\n    - Close group\n    - Run command\n    - Toggle side bar\n    - Toggle Pannel/terminal\n    - Togle white space characters\n\n## Contributing:\n\nPlease, refer to the [_CONTRIBUTING.md_](https://github.com/NascHQ/nasc-vscode-mac-touchbar/blob/master/CONTRIBUTING.md) file and help this project grow :)\n\n## NOTES:\n\nImportant, if the buttons don't fit in the bar, they will not be shown (this is a current bug in VSCode support for the TouchBar and soon to be fixed).  \nIf the bar disappeared, see the options (ctrl+, or cmd+,), filter by \"nasc\" and adjust the settings.\n\nUsually, if your are not using the \"Strip\" group of buttons, you can fit **9** buttons on it. If you have the OS's _Strip_ buttons enabled, you can fit **5** buttons.\n\nIf you would like to create more space by removing VSCode's default buttons you can do so with the `keyboard.touchbar.ignored` setting, adding some or all of the following to the ignored list:\n- workbench.action.navigateBack\n- workbench.action.navigateForward\n- workbench.action.debug.start\n- workbench.action.debug.run\n- workbench.action.debug.restart\n- workbench.action.debug.stepOver\n- workbench.action.debug.stepInto\n- workbench.action.debug.stepOut\n- workbench.action.debug.stop\n- workbench.action.debug.continue\n- workbench.action.debug.pause\nSee [this pull request](https://github.com/microsoft/vscode/pull/70174) to vscode for more information on the implementation of this customisation. This is not a feature of nasc-vscode-mac-touchbar, but a feature of vscode, and so the above list may change at any time.\n\n\n## Donate:\n\nBuy us a beer :)\n\n**BTC:** 1GuTME1bGbk7hY7ssrUBh3M1k4AeyVCSjW  \n**ETH:** 0x49f1612d4a8e9165f2eb94be79af9dbbf3815af5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fon2-dev%2Fnasc-vscode-mac-touchbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fon2-dev%2Fnasc-vscode-mac-touchbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fon2-dev%2Fnasc-vscode-mac-touchbar/lists"}