Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VNew to Visual Studio Code? Get it now.

V

The V Programming Language

|
1,487 installs
| (3) | Free
V language support (syntax highlighting, formatter, linter, snippets) for Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

V language support for Visual Studio Code

Version Installs GitHub Workflow Status

Provides V language support for Visual Studio Code.

Table of Contents

  • Preview
  • Features
    • Code Editing
    • Testing
    • Others

Preview

First demo screenshot

Features

Code Editing

  • Code Snippets for quick coding.
  • Format code on file save as well as format manually (using v fmt).
  • Linter (Workspace files only).

Testing

  • Run Tests under the cursor, in current file, in current package, in the whole workspace using either commands or codelens.

Others

  • Upload to the V Playground.
  • Upload to the DevBits V Playground.

Usage

You will need to install Visual Studio Code >= 0.26. In the command palette (Cmd+Shift+P) select Install Extension and choose V. You can also install the extension from the Marketplace. Open any .v, .vh, .vsh 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: Build an optimized executable from current file
  • V: Show help info
  • V: Show V version
  • V: Test current file
  • V: Test current package
  • V: Upload and share current code to V playground

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

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2021 Microsoft