Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 2.07 KB

README.md

File metadata and controls

60 lines (42 loc) · 2.07 KB

vscode-salto


Salto patches in vscode.


Features at a glance

  • Auto-completion support.
  • Syntax highlighting for .nacl files.
  • Syntax, Merge, and validation error highlighting.
  • Browse document symbols
  • Browse workspace symbols
  • Peek definition
  • Goto definition
  • Find references
  • Show types definition values on hover
  • Copy salto reference

Installation

Salto is still not registered in the marketplace. To install:

  • Download the latest vsix file from here
  • Open the extension menu
  • Select install from .vsix
  • Choose the downloaded file
  • Note: On version updates you might need to manually delete the extension directory in $home/.vscode/extensions

Installation

Auto-completion support

Auto completion

Syntax Highlighting

Syntax

Error highlighting

errors

Indexing support

  • Press Ctrl+Shift+O or ⇧⌘O to browse symbols in the current file
  • Press Ctrl+T or ⌘T to jump to symbol
  • Press Alt+F12 or ⌥F12 to peek definition
  • Show type definition on hover
  • Outline view support

indexing

Copy Salto reference

  • Right click on the attribute, value, type or instance you would like to reference and select Copy Salto Reference from the menu.

indexing