mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Some minor fixes to issues I ran into using devcontainer on this project with vscode. - Add `esbenp.prettier-vscode` to the recommended extensions list as it's already used in `.vscode/settings.json` - Install `wasm32-unknown-unknown` Rust target in devcontainer - Add cargo-binstall and pin cargo-about version in devcontainer - Remove `no-clearly-defined = true` from `about.toml`: - cargo-about 0.9.1 fails to run if `no-clearly-defined` is present - cargo-about 0.8.0 already [removed support](https://github.com/EmbarkStudios/cargo-about/blob/main/CHANGELOG.md#080---2025-09-05) for clearlydefined.io, so the argument is a no-op
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"image": "mcr.microsoft.com/devcontainers/base:debian",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/rust:1": {
|
|
"profile": "default",
|
|
"targets": "wasm32-unknown-unknown"
|
|
},
|
|
"ghcr.io/devcontainers/features/node:1": {}
|
|
},
|
|
// NOTE: Keep this in sync with WASM_BINDGEN_CLI_VERSION and CARGO_ABOUT_VERSION in `.github/workflows/build.yml`
|
|
"onCreateCommand": "curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash && cargo binstall --no-confirm --force cargo-about@0.9.0 wasm-bindgen-cli@0.2.121",
|
|
"customizations": {
|
|
"vscode": {
|
|
// NOTE: Keep this in sync with `.vscode/extensions.json`
|
|
"extensions": [
|
|
// Rust
|
|
"rust-lang.rust-analyzer",
|
|
"tamasfe.even-better-toml",
|
|
// Web
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"svelte.svelte-vscode",
|
|
"vitaliymaz.vscode-svg-previewer",
|
|
// Code quality
|
|
"wayou.vscode-todo-highlight",
|
|
"streetsidesoftware.code-spell-checker",
|
|
// Git
|
|
"mhutchie.git-graph",
|
|
"qezhu.gitlink",
|
|
// Helpful
|
|
"wmaurer.change-case"
|
|
]
|
|
}
|
|
}
|
|
}
|