Skip to content
Vegha VS Code

Quick start

Vegha works with the folder you have open. A collection is any folder that contains a collection.bru file. That’s the same format the Vegha desktop app and Bruno use, so an existing collection works as-is.

The extension activates when the workspace contains a collection.bru file, or when you open a .bru file.

Open the Vegha view in the activity bar. With no collections yet, it offers:

  • Create Collection — runs Vegha: New Collection… and writes a collection.bru file.
  • Import Postman, Insomnia, Thunder Client, OpenAPI… — see Import & export.
  • New Request from cURL — paste a cURL command and get a request.

Right-click the collection (or a folder) and choose New Request…. Pick a method, or one of the other kinds: WebSocket, gRPC or GraphQL. The request opens in the visual editor.

Select the environment name in the status bar (or run Vegha: Select Environment…) to choose where {{variables}} resolve from. Create one with New Environment… in the Environments view. See Environments & variables.

Press Send or Ctrl+Enter (Cmd+Enter on macOS). The response opens beside the request, with the body, headers, cookies, test results, console output and a timing breakdown.