Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply suggested fixups #1292

Merged

Conversation

micahmo
Copy link
Member

@micahmo micahmo commented Apr 10, 2024

Pull Request Description

When integrating the i18n plugin, I also added the following option to VS Code's settings.json file.

"editor.codeActionsOnSave": {
    "source.fixAll": "always",
}

This means that any suggested fixups will be applied when a file is saved. I think this is a really nice time-saver. Unfortunately, it means that if any existing files have suggested fixups, they will be fixed every time you save, even if you don't want to include those changes with your current work.

This PR takes care of a few instances that I've been running into a lot. With these fixups applied, there shouldn't be further unwanted changes in these files upon saving.

Copy link
Member

@hjiangsu hjiangsu left a comment

Choose a reason for hiding this comment

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

Looks good! I was encountering this issue as well so thanks for doing this 😄

@hjiangsu hjiangsu merged commit 494d9f2 into thunder-app:develop Apr 10, 2024
1 check passed
@micahmo micahmo deleted the feature/apply-suggested-fixups branch April 10, 2024 18:17
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