Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
// Rslint powers `pnpm lint` in this repo; the extension surfaces the same
// diagnostics in the editor. To be replaced by `rstack.rstack` (this very
// extension) once it is published.
"recommendations": ["rstack.rslint"]
"recommendations": ["rstack.rstack"]
}
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"**/tests-dist": true,
"**/.vscode-test": true,
"**/node_modules": true
}
},
"search.useIgnoreFiles": true,
"editor.defaultFormatter": "rstack.rstack"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

}