Skip to content

nadeeshaan/swagger-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger Language Server

(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

Supported LSP Features

  • Completion

Build from source

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.

Editor Configurations

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

About

Swagger-ls is a Language Server Implementation for Swagger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published