Ecosyste.ms: Awesome

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

https://github.com/vlang/vscode-vlang

V Language extension for Visual Studio Code.
https://github.com/vlang/vscode-vlang

extension snippets syntax-highlighting themes v vlang vscode

Last synced: 2 months ago
JSON representation

V Language extension for Visual Studio Code.

Lists

README

        

# V language support for Visual Studio Code

[![Version](https://vsmarketplacebadge.apphb.com/version/vlanguage.vscode-vlang.svg)](https://marketplace.visualstudio.com/items?itemName=vlanguage.vscode-vlang)
[![Installs](https://vsmarketplacebadge.apphb.com/installs/vlanguage.vscode-vlang.svg)](https://marketplace.visualstudio.com/items?itemName=vlanguage.vscode-vlang)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vlang/vscode-vlang/ci.yml?branch=master)](https://github.com/vlang/vscode-vlang/actions/)

Provides [V language](https://vlang.io) support for Visual Studio Code.

## Preview

![First demo screenshot](./images/demo.png)

## Features

### Code Editing

- syntax highlighting
- code snippets for quick coding

## Usage

First you will need to install [Visual Studio Code][vs-code] >= `1.40`.
In the command palette (`Cmd+Shift+P`) select `Install Extensions` and choose `V`.
Alternatively you can install the extension from the [Marketplace][market-ext-link].
Now open any `.v`, `.vsh`, `.vv` file in VS Code.

_Note_: It is recommended to turn `Auto Save` on
in Visual Studio Code (`File -> Auto Save`) when using this extension.

## Commands

- `V: Run current file`
- `V: Format current file`
- `V: Build an optimized executable from current file`
- `V: Show V version`
- `V: Update VLS`
- `V: Restart VLS`

You can access all of the above commands from the command palette (`Cmd+Shift+P`).

## License

[MIT](./LICENSE)

[vs-code]: https://code.visualstudio.com/
[market-ext-link]: https://marketplace.visualstudio.com/items?itemName=vlanguage.vscode-vlang