- Clone this repo:
git clone https://github.com/rendaoer/bevy-snippets-for-zed- Go to the Extensions menu in the Zed IDE
- Click "Install Dev Extension"
- Select the folder you cloned
| Prefix | Description |
|---|---|
| plugin_new | Bevy: Define a top-level plugin function |
| system_new | Bevy: Create a new system function |
| system_cmd | Bevy: Create a system with Commands parameter |
| system_on | Bevy: Create a system triggered by an event |
| system_on_cmd | Bevy: Create an event-driven system with Commands |
| Prefix | Description |
|---|---|
| component_new | Bevy: Create a new component with reflection |
| resource_new | Bevy: Create a new resource with reflection and default |
| event_new | Bevy: Define a new event type |
| entity_event_new | Bevy: Define a new entity event type |
| message_new | Bevy: Define a new message type |
| Prefix | Description |
|---|---|
| systemset_new | Bevy: Define a new SystemSet enum |
| schedule_new | Bevy: Define a new ScheduleLabel struct |
| states_new | Bevy: Define a new States enum with default variant |
| sub_states_new | Bevy: Define a new SubStates enum with source mapping |