Skip to content

mvoof/tarus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

133 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TARUS Logo

TARUS

The Missing Link for TAURI® Development
Bridge the gap between Rust and TypeScript with zero configuration.

Marketplace Installs TAURI v2.0 License GitHub Stars

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.

Introduction

In TAURI® projects, it’s often difficult to quickly navigate between the frontend and the Rust backend and understand where a command is defined or called. This extension is designed to make that navigation fast and effortless, allowing you to jump between the frontend and backend parts of the project in both directions. As secondary features, the extension can also detect unused commands and help autocomplete command names while typing.


Features

Navigation

Jump from frontend invoke or emit calls directly to their Rust implementations using F12 (Go to Definition). Use Shift+F12 to find all frontend call sites from a Rust function.

  • Frontend to Backend navigation
  • Backend to Frontend references
  • Support for complex project structures

Autocomplete

Intelligent suggestions for command and event names. Suggestions appear as soon as you open a quote in invoke, emit, or listen calls, eliminating manual searching.

  • Context-aware suggestions
  • Support for command and event names
  • Real-time indexing of new definitions

Diagnostics

Real-time analysis to detect errors before they reach the browser:

  • Undefined Commands: Warns if you invoke a command missing from Rust.
  • Payload Validation: Detects missing or extra keys in invoke arguments.
  • Event Desync: Identifies unlistened or unhandled events.

Code Actions

Quick fixes for development efficiency:

  • Add Missing Types: Automatically insert generic type parameters.
  • Generate Commands: Create Rust command templates directly from frontend call sites.

Support and Integration

Language Support

  • Backend: Rust (#[tauri::command], AppHandle::emit, Window::listen)
  • Frontend: TypeScript, JavaScript, JSX, TSX
  • Frameworks: React, Vue 3 (SFC), Svelte, Angular

Type Generator Support

TARUS reads generated bindings to provide structural type checking for:

  • tauri-specta
  • ts-rs
  • tauri-typegen

Documentation

License

MIT © 2026 mvoof

TAURI is a trademark of The Tauri Programme within the Commons Conservancy.

About

a VS Code extension — coding assistant for TAURI® apps. Navigation, autocomplete, diagnostics for commands and events.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors