Skip to content

v-community/vscode-vlang

 
 

Repository files navigation

V language support for Visual Studio Code

Version Installs GitHub Workflow Status

Provides V language support for Visual Studio Code.

Table of Contents

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

About

V Language extension for Visual Studio Code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 57.4%
  • V 28.0%
  • Coq 7.6%
  • JavaScript 7.0%