BrunoX Runner
BrunoX Runner provides full language support execution for Bruno (.bru) API request files and collections directly inside IntelliJ IDEA.
Install in
BrunoX Runner provides full language support and seamless execution for
Bruno (.bru) API request files and collections directly inside IntelliJ IDEA.
Compatibility Notice
Incompatible with "Bruno" and "Bruno Language" plugins:
This plugin registers its own .bru file type, parser, and language support. Running it alongside other Bruno plugins (such as Bruno or Bruno Language) will cause file type and language conflicts. Please disable or uninstall other Bruno plugins before using BrunoX Runner.
Key Features
-
Bruno Language Support (
.bru):- Custom lexer, parser, syntax highlighting, and brace matching for
.brufiles, including{{variable}}template highlighting. - Real-time semantic & AST validation (e.g., duplicate singleton blocks, multiple HTTP method blocks in a single request file, and block/key checks).
- Line comments (
#) are recognized and highlighted, without breaking block parsing. - Reformat Code (
Ctrl+Alt+L) normalizes files to the Bruno official style (two-space indentation). - Context-aware code completion for block names, dictionary keys, enum values, HTTP headers, assertion operators, annotations, and
{{envVar}}variables from environment files.
- Custom lexer, parser, syntax highlighting, and brace matching for
-
Run Requests & Collections:
- Run individual
.brufiles or recursively execute folders containing Bruno requests via the Bruno CLI (bru.cmd/bru). - Launch runs from Gutter icons, Project View context menu, Editor context menu, or Run Configurations.
- Run individual
-
Dual HTTP Execution Styles (Gutter Action):
- IDEA Built-in HTTP Client (Default): Converts the
.brurequest on the fly and runs it in IntelliJ's Services tool window (when the bundled HTTP Client plugin is enabled). - Bruno CLI Detailed Output: Executes via
bru --reporter-jsonand formats detailed request/response reports in the Run tool window.
- IDEA Built-in HTTP Client (Default): Converts the
-
CLI Auto-Detection & Project Settings:
- Automatically detects
bru.cmd/brufromPATHand common installation paths, with manual executable override and--versionverification in Settings | Tools | Bruno Runner. - Configure project-wide default environment, default CLI arguments, and quickly insert flags from the built-in Bruno CLI option catalog.
- Automatically detects
Quick Start & Usage
- Install Bruno CLI (
bru) locally if you plan to run requests or collections via CLI. - Open Settings | Tools | Bruno Runner to verify auto-detected
brupath (or set a custom path), choose your default HTTP run style, and configure default environment / CLI flags. - Open any
.brufile and click the green Gutter Run icon (top of file for CLI run, or on the HTTP method block for single-request HTTP run), or right-click a.brufile / folder in Project View and select Run Bruno.
Requirements
- Bruno CLI (
bru) installed locally for CLI-based execution.
Support / Donate
If you find BrunoX Runner helpful, you can view the Alipay / WeChat Pay donation QR codes offline in Settings | Tools | Bruno Runner.
Written by Joobi from the project's own listing. See the source page
Follow this listing's changes (Atom feed)