ale
ale copied to clipboard
Support OrganizeImports for LSP
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.
Related: #3006