An open API service indexing awesome lists of open source software.

https://github.com/vlang/vls

V language server
https://github.com/vlang/vls

language-server v

Last synced: 5 months ago
JSON representation

V language server

Awesome Lists containing this project

README

          

## VLS - V Language Server

Early alpha.

Build with: `v .`

Copy the binary to `/tmp/vls2`. Later it will be configurable via the extension settings.

Doesn't work on Windows yet, but it's easy to make it work.

#### Building the vscode vls extension

```
cd vscode-extension
npm install
npm run build
```

You should get a `vls-{version}.vsix` file.

Or download the `vsix` file from here:

https://github.com/vlang/vls/releases/download/0.1/vls-0.0.1.vsix

In VS Code run `Extensions: Install from VSIX...`

### Features

#### Instant errors

image

#### Go to definition

https://github.com/user-attachments/assets/fb4ee6ff-4765-46b7-a21e-267691253d8e

#### Autocomplete for module functions

image

#### Information about function parameters

image

#### Autocomplete for struct fields and methods

image