Replies: 1 comment 7 replies
-
|
deps vesion:
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
description
I try
oxlintandoxfmtnow. I follow the doc to set up the configuration in VS Code.When I set
"editor.defaultFormatter": "oxc.oxc-vscode"and open the context menu to check with theFormat document with..., it's stillprettier. But when I set it for a specific language, it works. I'm not sure if it's necessary to setdefaultFormatterfor a specific language.Following is my
.vscode/settings.json{ "oxc.fmt.configPath": ".oxfmtrc.json", "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll.oxc": "always" }, "oxc.typeAware": true, "[javascript]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[javascriptreact]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[typescript]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[typescriptreact]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[vue]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[json]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[jsonc]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[css]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[scss]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, "[markdown]": { "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true } }reproduction
iShot_2026-02-18_20.36.28.mp4
Beta Was this translation helpful? Give feedback.
All reactions