(Swagger Language Server is currently work in progress)
This is a language server implementation for swagger scripting. Swagger LS supports the LSP v3.7.0
- Completion
Prerequisites
- Java 1.8 and set JAVA_HOME (Will be include the capability to configure through settings in the future)
- Maven v3.5.3 at least
- npm 5.6.0 at least
How to build
- Execute mvn clean install from the project root. This will create the server launcher at <PROJECT_ROOT>/client/launcher
- Go to <PROJECT_ROOT>/client and execute command npm install and then npm run package. This will build the .vsix VSCode extention under <PROJECT_ROOT>/client
- Now you can install the generated extension as usual.
In order to get the auto completion on typing, add the following user settings to settings.json
"editor.quickSuggestions": { "other": true, "comments": false, "strings": true }
In order to disable the word based suggestions add the following,
"editor.wordBasedSuggestions": false