-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from nadeeshaan/dev-branch
Add completion support while typing
- Loading branch information
Showing
5 changed files
with
102 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,33 @@ | ||
## Swagger Language Server | ||
Swagger Language Server is currently work in progress | ||
**_(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`` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters