ALEFileRename command added. (#4012)

* ALEFileRename command added.

This command renames file and uses tsserver `getEditsForFileRename` to
fix import paths in Typescript files.

* ale#util#Input fix

* Even more fixes.

* Linting error fix.
This commit is contained in:
Dalius Dobravolskas
2021-12-17 01:09:26 +02:00
committed by GitHub
parent e4ec2e4dc7
commit 5b792c7641
8 changed files with 385 additions and 2 deletions

View File

@@ -263,6 +263,9 @@ See `:help ale-symbol-search` for more information.
ALE supports renaming symbols in symbols in code such as variables or class
names with the `ALERename` command.
`ALEFileRename` will rename file and fix import paths (tsserver
only).
`ALECodeAction` will execute actions on the cursor or applied to a visual
range selection, such as automatically fixing errors.