Skip to content

splo/vscode-bevy-inspector

Repository files navigation

Bevy Inspector Visual Studio Code Extension

Display live data from your Bevy application using the Bevy Remote Protocol HTTP plugin.

Features

  • 🧩 Display Bevy entities, components, resources and schema registry right in your editor side view.

Display

  • ✏️ Insert or modify component and resource values (only on Bevy 0.16+).

Insert components

  • 🏗️ Spawn, destroy or re-parent entities.

Reparent

  • 🔗 Manage multiple Bevy servers. Compatible with Bevy 0.15, 0.16 and more.

Servers

  • 🔃 Refresh data when wanted or via automatic polling with configurable delay.

Refresh

Usage

The extension can be installed from:

There are example servers at examples/ that show valid Bevy application configurations for different Bevy versions.

In short here are the requirements:

  • A Rust project with the bevy dependency and the bevy_remote feature enabled. Bevy should be at least 0.15.x but 0.16.x is required for multiple features (display resources and registry, modify components and resources).
# Cargo.toml
[dependencies]
bevy = { version = "0.16.0", features = ["bevy_remote"] }
  • A Bevy application with the RemotePlugin and RemoteHttpPlugin plugins enabled.
# src/main.rs
fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(RemotePlugin::default())
        .add_plugins(RemoteHttpPlugin::default())
        .run();
}

By default the connection URL is http://127.0.0.1:15702.

Development

Read the contributing guide:

About

Bevy Inspector Visual Studio Code Extension

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •