first committ, still fighting with... a lot! 😅
This commit is contained in:
commit
495556500f
74 changed files with 18135 additions and 0 deletions
68
.vscode/bevy.code-snippets
vendored
Normal file
68
.vscode/bevy.code-snippets
vendored
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"Bevy: New top-level function Plugin": {
|
||||
"scope": "rust",
|
||||
"prefix": "plugin",
|
||||
"body": [
|
||||
"use bevy::prelude::*;",
|
||||
"",
|
||||
"pub(super) fn plugin(app: &mut App) {",
|
||||
"\t$0",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
"Bevy: New Component": {
|
||||
"scope": "rust",
|
||||
"prefix": "component",
|
||||
"body": [
|
||||
"#[derive(Component, Reflect, Debug)]",
|
||||
"#[reflect(Component)]",
|
||||
"struct $1;"
|
||||
]
|
||||
},
|
||||
"Bevy: New Resource": {
|
||||
"scope": "rust",
|
||||
"prefix": "resource",
|
||||
"body": [
|
||||
"#[derive(Resource, Reflect, Debug, Default)]",
|
||||
"#[reflect(Resource)]",
|
||||
"struct $1;"
|
||||
]
|
||||
},
|
||||
"Bevy: New Event": {
|
||||
"scope": "rust",
|
||||
"prefix": "event",
|
||||
"body": [
|
||||
"#[derive(Event, Debug)]",
|
||||
"struct $1;"
|
||||
]
|
||||
},
|
||||
"Bevy: New SystemSet": {
|
||||
"scope": "rust",
|
||||
"prefix": "systemset",
|
||||
"body": [
|
||||
"#[derive(SystemSet, Copy, Clone, Eq, PartialEq, Hash, Debug)]",
|
||||
"enum $1 {",
|
||||
"\t$0",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
"Bevy: New Schedule": {
|
||||
"scope": "rust",
|
||||
"prefix": "schedule",
|
||||
"body": [
|
||||
"#[derive(ScheduleLabel, Copy, Clone, Eq, PartialEq, Hash, Debug)]",
|
||||
"struct $1;"
|
||||
]
|
||||
},
|
||||
"Bevy: New States": {
|
||||
"scope": "rust",
|
||||
"prefix": "states",
|
||||
"body": [
|
||||
"#[derive(States, Copy, Clone, Eq, PartialEq, Hash, Debug, Default)]",
|
||||
"enum $1 {",
|
||||
"\t#[default]",
|
||||
"\t$0",
|
||||
"}"
|
||||
]
|
||||
}
|
||||
}
|
9
.vscode/extensions.json
vendored
Normal file
9
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"fill-labs.dependi",
|
||||
"editorconfig.editorconfig",
|
||||
"tamasfe.even-better-toml",
|
||||
"rust-lang.rust-analyzer",
|
||||
"a5huynh.vscode-ron"
|
||||
]
|
||||
}
|
9
.vscode/settings.json
vendored
Normal file
9
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
// Allow `rust-analyzer` and `cargo` to run simultaneously.
|
||||
// This uses extra storage space, so consider commenting it out.
|
||||
"rust-analyzer.cargo.targetDir": true,
|
||||
// Display the directory of `mod.rs` files in the tab above the text editor.
|
||||
"workbench.editor.customLabels.patterns": {
|
||||
"**/mod.rs": "${dirname}/mod.rs"
|
||||
},
|
||||
}
|
84
.vscode/tasks.json
vendored
Normal file
84
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,84 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Run native dev",
|
||||
"type": "process",
|
||||
"command": "bevy",
|
||||
"args": [
|
||||
"run"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"RUST_BACKTRACE": "full"
|
||||
}
|
||||
},
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run native release",
|
||||
"type": "process",
|
||||
"command": "bevy",
|
||||
"args": [
|
||||
"run",
|
||||
"--release"
|
||||
],
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Run web dev",
|
||||
"type": "process",
|
||||
"command": "bevy",
|
||||
"args": [
|
||||
"run",
|
||||
"--yes",
|
||||
"web"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"RUST_BACKTRACE": "full"
|
||||
}
|
||||
},
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Run web release",
|
||||
"type": "process",
|
||||
"command": "bevy",
|
||||
"args": [
|
||||
"run",
|
||||
"--yes",
|
||||
"--release",
|
||||
"web"
|
||||
],
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": "build"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue