Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TARUSNew to Visual Studio Code? Get it now.
TARUS

TARUS

mvoof

|
3 installs
| (0) | Free
A VS Code extension that provides convenient cross-language navigation between commands/events in frontend and backend code in the IDE (for Tauri projects)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Installs Version License

TARUS Logo

TARUS

A VS Code extension that provides convenient cross-language navigation between commands/events in frontend and backend code in the IDE (for TAURI® projects).


This extension is not officially supported by the Tauri team and is provided as-is. It is maintained by a third party and may not receive updates or bug fixes in a timely manner. Use at your own risk.

Features

  • Go to Definition: Ctrl+Click (or F12) on frontend event/command names to jump to the Rust implementation.

  • Hover Information: Display command/event details on hover in frontend code.

  • CodeLens Navigation:

    Direction Action
    Frontend → Rust Go to Rust: my-command
    Rust → Frontend Go to Frontend: my-event

Demo

Demo

Installation

  1. From VS Code Marketplace (Recommended):

    • Open VS Code.
    • Go to Extensions view (Ctrl+Shift+X).
    • Search for "Tarus".
    • Click Install.
  2. From VSIX File:

    code --install-extension tarus.v0.0.1.vsix
    
  3. From Source (Development):

    npm install -g @vscode/vsce
    git clone https://github.com/mvoof/tarus
    cd tarus
    vsce package
    

Usage

  1. Open a Project:

    my-tauri-app/
    ├── src/ # Frontend root (default)
    └── src-tauri/src/ # Rust root (default)
    
  2. Navigation Examples: Frontend (TSX):

    import { invoke } from '@tauri-apps/api/core';
    invoke('my_command');  // Ctrl+Click → Jump to Rust fn my_command()
    

    Rust:

    #[tauri::command]
    fn my*command() { /* ... \_/ }
    app.emit("my-event", &payload); // CodeLens: "Go to Frontend: my-event"
    

Development

  1. Setup:

    npm install
    
  2. Compile & Watch:

    npm run compile
    press 'F5' for run extension and test
    
  3. Lint:

    npm run lint
    npm run lint:fix
    
  4. Package:

    for testing the assembly

    npm run compile
    vsce package
    

Contributing

Contributions are welcome! Please:

  • Fork the repository.
  • Create a feature branch (git checkout -b feature/amazing-feature).
  • Commit changes (git commit -m 'Add amazing feature').
  • Push (git push origin feature/amazing-feature).
  • Open a Pull Request.

License

MIT © 2025 mvoof

TAURI is trademark of [The Tauri Programme within the Commons Conservancy]

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft