Skip to content

settings.json: tweak editor.codeActionsOnSave#4033

Merged
nstepien merged 1 commit intomainfrom
codeactions
Apr 21, 2026
Merged

settings.json: tweak editor.codeActionsOnSave#4033
nstepien merged 1 commit intomainfrom
codeactions

Conversation

@nstepien
Copy link
Copy Markdown
Collaborator

No description provided.

@nstepien nstepien self-assigned this Apr 21, 2026
Comment thread .vscode/settings.json
"source.removeUnusedImports": "explicit",
// prevent removal of unreachable code
"source.fixAll.ts": "never"
"source.format.oxc": "explicit"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Seems like this is preferred over using editor.formatOnSave
oxc-project/oxc-vscode@ec05e86

The order in editor.codeActionsOnSave matters, so I've put it last.

Comment thread .vscode/settings.json
{
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeLinkDefinitions": "explicit",
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@nstepien nstepien marked this pull request as ready for review April 21, 2026 20:37
@nstepien nstepien requested a review from amanmahajan7 as a code owner April 21, 2026 20:37
@nstepien nstepien merged commit 1e98765 into main Apr 21, 2026
2 checks passed
@nstepien nstepien deleted the codeactions branch April 21, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants