Skip to content

[Feature Request] Provide more code action options on save #1379

Closed
eclipse-jdtls/eclipse.jdt.ls
#1547
@AlliterativeAlice

Description

@AlliterativeAlice

In 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions