mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-26 15:43:16 +08:00
Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto import support (tsserver) (#2709)
This commit adds support for renaming symbols in tsserver and with LSP tools, and for organising imports with tsserver. Completion results for symbols that can be imported are now suggested if enabled for tsserver completion done via ALE.
This commit is contained in:
1 parent
b66d202c1d
commit
3e8c8d3ccb
20 files changed
+1633
-17
No files matched your search
@@ -188,6 +188,10 @@ Execute (ALECleanupGroup should include the right commands):
|
||||
\], CheckAutocmd('ALECleanupGroup')
|
||||
endif
|
||||
|
||||
Execute(ALECompletionActions should always be set up):
|
||||
AssertEqual [
|
||||
\ 'CompleteDone * call ale#completion#HandleUserData(v:completed_item)',
|
||||
\], CheckAutocmd('ALECompletionActions')
|
||||
|
||||
Execute(Enabling completion should set up autocmd events correctly):
|
||||
let g:ale_completion_enabled = 0
|
||||
|
||||
Reference in new issue
Block a user