Skip to content

Latest commit

 

History

History

vscode_ext

milone-lang support for VSCode

Visual Studio Code extension for Milone-lang syntax highlighting and IDE features. Implemented partially.

Install

Install milone-lang tool-chain first. (milone_lsp command should work.)

npm ci
./install
  • To uninstall, ./uninstall.

Features

  • 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.

Development

Dev: Prerequisites

Dev: Build 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.

See also