1.2.0 • Published 3 years ago
fs-language-server v1.2.0
Flowscript Language server/client
https://code.visualstudio.com/api/language-extensions/language-server-extension-guide
Installation
- Download the
.vsix
file from the latest release - Run
code --install-extension fs-language-server.vsix
- Restart VSCode
Functionality
- Parsing: Show flowscript errors at their location in the script
- Validation: Linter errors and warnings
- Autocomplete: some TS snippets are provided:
flow-statement
: create a new statement handlerflow-plugin
: create a new flow-plugin, with several hooksflow-initialize
: function to expose a flow-plugin from a gev-pluginflow-template
: a simple flowscript file
Development
- Run
npm install
in this folder. This installs all necessary npm modules in both the client and server folder - Open VS Code on this folder.
- Press Ctrl+Shift+B to compile the client and server.
- Switch to the Debug viewlet.
- Select
Launch Client
orClient + Server
from the drop down. - Run the launch config.
- In the Extension Development Host instance of VSCode, open a document in 'flowscript' language mode.
1.2.0
3 years ago