ligo/tools/lsp/vscode-plugin
Kirill Kuvshinov 5d8f2c8526
[LIGO-13] Add CameLIGO and ReasonLIGO
Problem: The previous version of the extension only supported
PascaLIGO dialect. We need to add syntax highlighting and
activation events for ReasonLIGO and CameLIGO.

Solution: Add .tmlanguage.json files for ReasonLIGO and CameLIGO,
add activation events.
2020-09-08 13:14:51 +03:00
..
.vscode [LIGO-13] Add a VSCode extension 2020-09-08 13:14:43 +03:00
client [LIGO-13] Add CameLIGO and ReasonLIGO 2020-09-08 13:14:51 +03:00
syntaxes [LIGO-13] Add CameLIGO and ReasonLIGO 2020-09-08 13:14:51 +03:00
.vscodeignore [LIGO-13] Add a VSCode extension 2020-09-08 13:14:43 +03:00
logo.png [LIGO-13] Add a VSCode extension 2020-09-08 13:14:43 +03:00
package-lock.json [LIGO-13] Add a VSCode extension 2020-09-08 13:14:43 +03:00
package.json [LIGO-13] Add CameLIGO and ReasonLIGO 2020-09-08 13:14:51 +03:00
README.md [LIGO-13] Add a VSCode extension 2020-09-08 13:14:43 +03:00
tsconfig.json [LIGO-13] Add a VSCode extension 2020-09-08 13:14:43 +03:00

LIGO VSCode Plugin

This plugin is an LSP implementation for the LIGO language family.

Currently, it is highly experimental and may contain bugs. On MacOS and Windows, only syntax highlighting is supported yet.

Functionality

Code navigation

  • Jump to definition
  • Find references
  • Folding range
  • Selection range
  • Jump to type definition
  • Document symbols
  • Workspace symbols
  • Document highlights

Diagnostics

  • Parser diagnostics
  • Extended diagnostics

Code editing

  • Hover suggestions
  • Code actions (refactor, rename, etc.)
  • Code completion for variable names
  • Code completion for record fields and constructors
  • Signature help

Formatting

  • Whole document formatting
  • On-type formatting
  • Document range formatting