Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lommix/bevy_inspector.nvim

A simple remote entity & component inspector inside neovim using the telescope API
https://github.com/lommix/bevy_inspector.nvim

bevy debugging inspector neovim remote

Last synced: 20 days ago
JSON representation

A simple remote entity & component inspector inside neovim using the telescope API

Awesome Lists containing this project

README

        

# bevy_inspector.nvim

A simple remote entity & component inspector inside Neovim
using the telescope API with the new BRP-API introduced in bevy 0.15

https://github.com/user-attachments/assets/0d48ded3-31da-49bf-ae5b-4ba5aa6fd6e1

## Installation

```lua
return {
"lommix/bevy_inspector.nvim",
dependencies = {
"nvim-telescope/telescope.nvim",
},
config = function()
require("bevy_inspector").setup({
-- you only need to call setup, if you want to provide a custom url/port
-- url = "http://127.0.0.1:15702",
})
vim.keymap.set("n", "zz", ":BevyInspect", {silent=true})
vim.keymap.set("n", "uu", ":BevyInspectNamed", {silent=true})
end,
}
```

## In Bevy

Make sure you have `bevy_remote` feature enabled and added the necessary remote plugins.

```rust
app.add_plugins((
RemotePlugin::default(),
RemoteHttpPlugin::default(),
));
```