Visual Studio Code extension for Milone-lang syntax highlighting and IDE features. Implemented partially.
Install milone-lang tool-chain first. (milone_lsp
command should work.)
npm ci
./install
- To uninstall,
./uninstall
.
- Syntax highlighting
- Hover on symbols for tooltip
- Hover on variables, functions etc.
- Hover on fields
- Documentation symbol highlighting
- Find definitions and references
- Find variables, functions, etc.
- Find field references
- Rename
- Completion
- Formatting
fantomas-tool
is required. See also documentation about LSP server.
- Install Visual Studio Code (1.52.1)
- Install Node.js (17.0.1)
- On Windows:
- Install Git 2.30.0 (To run shell scripts)
install
: Build the extension from source and install it to local VSCode.- Make sure to bump up the version number before installation. (It sometimes works incorrectly when you installed that of different edition with yet the same version number installed before, for some reason.)
uninstall
: Uninstall the extension from local VSCode.
- F# syntax definition built-in to VSCode: vscode/fsharp.tmLanguage.json
- Monokai color theme for VSCode: vscode/monokai-color-theme.json at f74e473238aca7b79c08be761d99a0232838ca4c · microsoft/vscode
- Official LSP website: Overview
- Unofficial Japanese translation: tennashi/lsp_spec_ja: LSP 仕様の日本語訳
- Article series: LSP学習記 #1