Language Server Protocol (LSP) Server
This repository contains an LSP (Language Server Protocol) server designed for development and debugging purposes. The server provides language-specific features, such as autocomplete, error checking, and other IDE functionalities.
Getting Started
For Users
- Install Extension from VSCode market place (zpilot)
- Open file with json format and WF suffix in filename to leverage the extension.
Example: testWF.json, fetchWF.json etc.
For Developers
Prerequisites
- Node.js (version 14.17.0 or above)
- npm (usually comes with Node.js)
Installation
Clone this repository:
git clone git@bitbucket.org:zinierinc/zpilot.git
cd zpilot
npm install / yarn
To run both cilent and server, use debugger option in vscode.
To run just the LSP server:
cd zpilot/server/out
node ipc_server_ws.js --socket=8080
To package the extension in VSIX file
Installation
Make sure you have Node.js installed. Then run:
npm install -g @vscode/vsce
Usage
You can use vsce to easily package and publish your extensions:
$ cd myExtension
$ vsce package
# myExtension.vsix generated
$ vsce publish
# <publisher id>.myExtension published to VS Code Marketplace
$ vsce publish
# <publisher id>.myExtension published to VS Code Marketplace
vsce can also search, retrieve metadata, and unpublish extensions. For a reference on all the available vsce commands, run vsce --help.
Reference: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token