/vdmpp-vscode-extension

Smart linting and syntax highlighting(rough) for VDM++ in VSCode.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

VDM++ IDE for Visual Studio Code

Smart linting and syntax highlighting(rough) for VDM++ in VSCode using the VDM++ language server.

Version Downloads Installs

To use, open a VDM++ file(*.vdmpp). The language server will then automatically launch in the background.

Features

  • Linting
  • Syntax Highlighting(Rough)

Future Works

  • Linting
  • Syntax Highlighting(rough)
  • Syntax Highlighting(detail)
  • Formatting
  • Document symbols
  • Go-to-definition
  • Code completion
  • Hover
  • Find references

Syntax Highlighting

Syntax highlight the VDM++ file.

Syntax Highlighting

Linting

Lint the VDM++ file.(using VDMJ)

Linting

Development

For the Developper.

Structure

Structure

Image file is here.

Seaquence diagram

Activate extension

activate extension

Packageing

vsce package

Debugging

  1. git clone this repository
  2. open directory with vscode
  3. open command parette Cmd + Shift + p
  4. input "start debugging"
  5. select "Launch Extension"

Change read LSP Server

You can change read LSP Server.

  1. Open src/extension.ts
  2. Change path.resolve(context.extensionPath,in~~~ in server.listen().

COUTION: Don't commit that diff.

example

change LSP Server