[Feature Request] Provide more code action options on save
See original GitHub issueIn the Eclipse Java configuration, under Java -> Editor -> Save Actions, there’s an “Additional Actions” option which allows one to configure a wide range of additional code formatting options to be applied on save (e.g. “Use modifier for final
where possible”). Since these options aren’t part of the Eclipse formatter XML settings, there’s no way to have them performed on save in Visual Studio Code. Most are available as code actions, but can’t be added to the editor.codeActionsOnSave
setting AFAIK. Would it be possible to add the ability to perform these actions on save?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Suggest a feature - Visual Studio (Windows)
Describes what suggestions are on Developer Community, how to make a suggestion, and how suggestions are used by Microsoft in the Visual ...
Read more >Basic Editing in Visual Studio Code
Learn about the basic editing features of Visual Studio Code. Search, multiple selection, code formatting.
Read more >Feature Requests
This part of the forum is to vote on future feature requests. When you create a new feature request, please add the product...
Read more >Creating a public app for feature requests - no code required
Open the app in an anonymous window and use the form to submit a feature request. This will make the feature appear on...
Read more >Merge request dependencies - GitLab Docs
Docs. Edit this page to fix an error or add an improvement in a merge request. ; Product. Create an issue if there's...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone who want to add final modifiers where possible on save, please add the following settings into your
settings.json
I don’t get it. Is there other code clean up and save actions that are on save. This post is almost over a year old.