VS Code extension project, which currently just serves as a simple client for integration of the build2-lsp-server.
.
├── lsp-client // Language Client
│ ├── src
│ │ ├── test // End to End tests for Language Client / Server
│ │ └── extension.ts // Language Client entry point
├── [add any additional components at this level]
└── package.json // The extension manifest.
- 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 start compiling the client and server in watch mode.
- Switch to the Run and Debug View in the Sidebar (Ctrl+Shift+D).
- Select
Launch Client
from the drop down (if it is not already). - Press ▷ to run the launch config (F5).
- Run
npm install -g @vscode/vsce
to install the VS Code extension management command line tool. - Run
vsce package
in this folder to produce the vsix file. - To install into VS Code, open the Extensions pane, top-right ellipsis button, Install from VSIX.
See README.md.