Skip to content

Commit cd91c60

Browse files
committed
Integrate VLS language server
1 parent cc6dee7 commit cd91c60

7 files changed

Lines changed: 282 additions & 271 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,23 @@ Provides [V language](https://vlang.io) support for Visual Studio Code.
1515

1616
- syntax highlighting
1717
- code snippets for quick coding
18+
- completion, diagnostics, navigation, inlay hints, and other language
19+
features via VLS
20+
21+
### V Language Server
22+
23+
Install [VLS](https://github.com/vlang/vls) and ensure the `vls`
24+
executable is in PATH. Alternatively, set `v.vls.command` to its
25+
absolute path. The extension starts VLS over stdio when a V workspace
26+
is opened.
27+
28+
The available VLS settings are:
29+
30+
- `v.vls.enable`: enable or disable VLS
31+
- `v.vls.command`: path or command name for the VLS executable
32+
- `v.vls.args`: additional command-line arguments
33+
- `v.vls.inlayHints.enabled`: enable or disable inlay hints
34+
- `v.vls.diagnostics`: enable or disable live diagnostics
1835

1936
## Usage
2037

package-lock.json

Lines changed: 105 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)