Skip to content

Support for source.fixAll code action #1842

Open
@muirdm

Description

@muirdm

There apparently is a kind of code action called source.fixAll meant to be automatically run in save hooks. I learned of this via gopls, but it is mentioned here. Should we add support in lsp-mode to make it easier to set up a hook, perhaps by adding a function to invoke this kind of code action similar to lsp-organize-imports?

Have we considered automatically configuring save hooks for organizeImports/format-buffer?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions