chore: align VS Code configuration with Rstack - #50
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 787d9b68b8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| }, | ||
| "search.useIgnoreFiles": true, | ||
| "editor.defaultFormatter": "rstack.rstack" |
There was a problem hiding this comment.
Limit the default formatter to supported languages
When a contributor has a formatter for an unsupported language installed, this workspace-wide setting prevents it from acting as the default. For example, the repository contains .agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh, but Rstack registers formatting only for the 24 language IDs in packages/vscode/src/stacks/fmt/index.ts and does not include shellscript; VS Code therefore selects rstack.rstack and reports that it cannot format the file instead of using the available shell formatter. Scope this setting to the language IDs supported by Rstack.
Useful? React with 👍 / 👎.
Summary
VS Code does not use Rstack as the repository-wide default formatter. Align the shared editor settings with rsbuild-plugin-template. Recommend the Rstack extension alongside the formatter setting.
Checklist