summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDalius Dobravolskas <dalius.dobravolskas@gmail.com>2021-12-17 01:09:26 +0200
committerGitHub <noreply@github.com>2021-12-17 08:09:26 +0900
commit5b792c764196aeb45eb6025c6c1c9727084c2feb (patch)
treedf96221664bac924f584db5e25d5deb736e44a6a /doc
parente4ec2e4dc74fc24d57fd74770d2aa277425dde7c (diff)
downloadale-5b792c764196aeb45eb6025c6c1c9727084c2feb.zip
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index dda7a712..8d98d511 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -686,6 +686,8 @@ for a full list of options.
ALE supports renaming 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.
@@ -3368,6 +3370,9 @@ ALERename *ALERename*
The symbol where the cursor is resting will be the symbol renamed, and a
prompt will open to request a new name.
+ALEFileRename *ALEFileRename*
+
+ Rename a file and fix imports using `tsserver`.
ALECodeAction *ALECodeAction*