summaryrefslogtreecommitdiff
path: root/test/test_code_action.vader
AgeCommit message (Collapse)Author
2021-02-20Fixes to code actions (cursor moving, tests, EOL/EOF corner cases) (#3478)Tomáš Janoušek
* code_action: Don't move cursor when change covers entire file * code_action: Refactor/simplify ApplyChanges * code_action: Fix EOL at EOF corner cases while performing no changes * code_action: Fix column around EOL corner cases * code_action: Handle positions out of bounds * code_action: Add instructions for verifying corner case tests against vscode
2020-11-14Support for LSP/tsserver Code Actions (#3437)Dalius Dobravolskas
* Added tsserver and LSP code action support. * tsserver refactors support added. * Handling special case when new text is added after new line symbol. * ale#code_action#ApplyChanges simplified. * Initial attempt on LSP Code Actions. * workspace/executeCommand added. * Some null checks added. * Add last column to LSP Code Action message. * Pass diagnostics to LSP code action. Previously ApplyChanges code was applied from top-to-bottom that required extra parameters to track progress and there was bug. I have changed code to bottom-to-top approach as that does not require those extra parameters and solved the bug. Tested with typescript-language-server and it is working.
2020-10-15#3332 Implement :ALERename! for ignoring errorsw0rp
:ALERename! now ignores errors for files that cannot be modified, and modifies all other files.
2020-09-04Fix #3322 - Apply rename changes correctlyw0rp
2019-10-09Do not save for ALERename and ALEOrganizeImportsJerko Steiner
2019-09-12Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto ↵Jerko Steiner
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.