smartium / VSCode-iTouch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iTouch README

This extension is a modification of nasc-vscode-mac-touchbar extension since it is no longer getting updated and I wanted to add a few more features of my own.

Features

The list of features are:

  • Go to definition
  • Add cursor above
  • Add cursor below
  • Run command
  • Run Code using Code Runner extension
  • Toggle side bar
  • Toggle Panel/terminal
  • Rename/replace all
  • Duplicate lines
  • Toggle white space characters
  • Peek definition
  • Show references
  • Settings
  • Indent
  • Outdent
  • Jump to matching bracket
  • Block comment
  • Comment line
  • Select next
  • Go to next
  • Open Dash / Zeal
  • Search Dash / Zeal with current selection

Extension Settings

You can choose the buttons by setting the following settings.
Please 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.

  • "arorashivoy-touchbar.goToDefinition": (default true) Go to the function or variable definition
  • "arorashivoy-touchbar.addCursorAbove": (default false) Add a cursor in the line above
  • "arorashivoy-touchbar.addCursorBelow": (default true) Add a cursor in the line below
  • "arorashivoy-touchbar.selectNext": (default false) Selects next match
  • "arorashivoy-touchbar.toggleSidebar": (default false) Toggles the sidebar
  • "arorashivoy-touchbar.togglePanel": (default true) Toggles the panel in the bottom of the editor
  • "arorashivoy-touchbar.showCommands": (default true) Shows the run command prompt
  • "arorashivoy-touchbar.rename": (default true) Rename (replace all) variable or function names
  • "arorashivoy-touchbar.copyLineDown": (default false) Duplicates the current line (or selected lines)
  • "arorashivoy-touchbar.goToNext": (default false) Go to next match
  • "arorashivoy-touchbar.toggleWhiteSpace": (default false) Show or hide white spaces
  • "arorashivoy-touchbar.peekDefinition": (default false) Peek definition/declaration
  • "arorashivoy-touchbar.showReferences": (default false) List references who use the current symbol
  • "arorashivoy-touchbar.settings": (default false) Open user settings
  • "arorashivoy-touchbar.indent": (default false) Indent text
  • "arorashivoy-touchbar.outdent": (default false) Outdent text
  • "arorashivoy-touchbar.jumpToBracket": (default false) Jump to matching bracket
  • "arorashivoy-touchbar.blockComment": (default false) Toggles block comments ( /* ... */ ) for the current selection
  • "arorashivoy-touchbar.commentLine": (default false) Toggles line comments ( // ) for the current selection
  • "arorashivoy-touchbar.formatDocument": (default false) Formats the current document
  • "arorashivoy-touchbar.docs": (default false) Show documentation for current file in Dash / Zeal. Requires extension deerawan.vscode-dash
  • "arorashivoy-touchbar.docsSelection": (default false) Shows documentation for current selection in Dash / Zeal, depending on the doctype. Requires extension deerawan.vscode-dash If "arorashivoy-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.
  • "arorashivoy-touchbar.enableFuncGroup": (default false) Adds a group with the buttons related to Functions
  • "arorashivoy-touchbar.enableSrcGroup": (default false) Adds a group with the buttons related to the Source code
  • "arorashivoy-touchbar.enableCursorsGroup": (default false) Adds a group with the buttons related to your cursors
  • "arorashivoy-touchbar.enableEditorGroup": (default false) Adds a group with the buttons related to editor's tools
  • "arorashivoy-touchbar.runCode": (default false) Run your code using the coderunnner extension from the TouchBar

NOTES:

Important, 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).

Credits

Lakshya Bhushan - Logo of the extension

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%