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).