mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-30 14:45:29 +08:00
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:
committed by
GitHub
parent
e4ec2e4dc7
commit
5b792c7641
@@ -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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user