ale icon indicating copy to clipboard operation
ale copied to clipboard

Support OrganizeImports for LSP

Open mroch opened this issue 4 years ago • 1 comments

OrganizeImports only supports tsserver right now, but if an LSP server supports the source.organizeImports code action (it's in the spec), it could trigger that. capabilities.codeActionProvider.codeActionKinds in the initialize response should tell you if it's supported.

This is how VS Code's built-in "Organize Imports" command works.

mroch avatar Sep 10 '21 20:09 mroch

Related: #3006

hsanson avatar Sep 18 '21 12:09 hsanson