Update .zed project settings for GPUI development

- Simplified language settings (removed Zed-specific formatters)
- Updated tasks to focus on GPUI crate
- Removed Zed-specific file scan exclusions
This commit is contained in:
iamnbutler
2025-12-12 14:24:35 -05:00
parent 1b3602cdd0
commit 2e1cf304ed
3 changed files with 15 additions and 57 deletions
-20
View File
@@ -1,20 +0,0 @@
[
{
"label": "Debug Zed (CodeLLDB)",
"adapter": "CodeLLDB",
"build": {
"label": "Build Zed",
"command": "cargo",
"args": ["build"]
}
},
{
"label": "Debug Zed (GDB)",
"adapter": "GDB",
"build": {
"label": "Build Zed",
"command": "cargo",
"args": ["build"]
}
}
]
+3 -32
View File
@@ -2,55 +2,27 @@
"languages": {
"Markdown": {
"tab_size": 2,
"formatter": "prettier"
},
"TOML": {
"formatter": "prettier",
"format_on_save": "off"
"format_on_save": "off",
},
"YAML": {
"tab_size": 2,
"formatter": "prettier"
},
"JSON": {
"tab_size": 2,
"preferred_line_length": 120,
"formatter": "prettier"
},
"JSONC": {
"tab_size": 2,
"preferred_line_length": 120,
"formatter": "prettier"
},
"JavaScript": {
"tab_size": 2,
"formatter": "prettier"
},
"CSS": {
"tab_size": 2,
"formatter": "prettier"
},
"Rust": {
"tasks": {
"variables": {
"RUST_DEFAULT_PACKAGE_RUN": "zed"
}
}
}
},
"file_types": {
"Dockerfile": ["Dockerfile*[!dockerignore]"],
"JSONC": ["**/assets/**/*.json", "renovate.json"],
"Git Ignore": ["dockerignore"]
},
"hard_tabs": false,
"formatter": "auto",
"remove_trailing_whitespace_on_save": true,
"ensure_final_newline_on_save": true,
"file_scan_exclusions": [
"crates/agent/src/edit_agent/evals/fixtures",
"crates/eval/worktrees/",
"crates/eval/repos/",
"**/.git",
"**/.svn",
"**/.hg",
@@ -58,7 +30,6 @@
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings"
]
"**/target",
],
}
+12 -5
View File
@@ -4,13 +4,20 @@
"command": "./script/clippy",
"args": [],
"allow_concurrent_runs": true,
"use_new_terminal": false
"use_new_terminal": false,
},
{
"label": "cargo run --profile release-fast",
"label": "cargo check gpui",
"command": "cargo",
"args": ["run", "--profile", "release-fast"],
"args": ["check", "--package", "gpui"],
"allow_concurrent_runs": true,
"use_new_terminal": false
}
"use_new_terminal": false,
},
{
"label": "cargo test gpui",
"command": "cargo",
"args": ["test", "--package", "gpui"],
"allow_concurrent_runs": false,
"use_new_terminal": false,
},
]