korosuke613 / vdmpp-vscode-extension

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

Home Page:https://marketplace.visualstudio.com/items?itemName=korosuke613.vdmpp-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://marketplace.visualstudio.com/items?itemName=korosuke613.vdmpp-extension

License:GNU General Public License v3.0


Languages

Language:TypeScript 95.5%Language:JavaScript 3.1%Language:Python 1.4%