Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

wapc/widl-vscode-extension

Repository files navigation

WIDL VS Code extension

Deprecation Notice

The WIDL project has been extracted out of waPC and can now be found at github.com/apexlang

Description

Preview for editing waPC Interface Defintion Language (WIDL) documents inside VS Code.

Functionality

This Language Server works for plain text file. It has the following language features:

  • Completions
  • Diagnostics regenerated on each file change or configuration change

Running the Project

  • 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 from the drop down.
  • Run the launch config.
  • If you want to debug the server as well use the launch configuration Attach to Server
  • In the [Extension Development Host] instance of VSCode, open a document in 'WIDL' language mode.

Packaging & Installing

  • Run vsce package to generate widl-vscode-extension-{semver}.vsix.
  • Install the .vsix file in VS Code using the Install from VSIX... option under the Extensions view (three dots dropdown).