summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBartek thindil Jasicki <thindil@laeran.pl>2020-11-20 10:11:02 +0100
committerBartek thindil Jasicki <thindil@laeran.pl>2020-11-20 10:11:02 +0100
commitf156548c16d87a60664002a4c88c534486b84de5 (patch)
tree053c1a3a78f6644c47bc479c47d20701ff776c81 /doc
parent01b661ea25c1abb4f2e6808661d52c7ebdfac85c (diff)
parent48fe0dd4f629bb1282277ba8a6757a84c13a4dda (diff)
downloadale-f156548c16d87a60664002a4c88c534486b84de5.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index a820de79..4f8ba7cc 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -20,6 +20,7 @@ CONTENTS *ale-contents*
5.4 Find References...................|ale-find-references|
5.5 Hovering..........................|ale-hover|
5.6 Symbol Search.....................|ale-symbol-search|
+ 5.7 Refactoring: Rename, Actions......|ale-refactor|
6. Global Options.......................|ale-options|
6.1 Highlights........................|ale-highlights|
7. Linter/Fixer Options.................|ale-integration-options|
@@ -669,6 +670,16 @@ ALE supports searching for workspace symbols via LSP linters with the
|ALESymbolSearch| command. See the documentation for the command
for a full list of options.
+-------------------------------------------------------------------------------
+5.7 Refactoring: Rename, Actions *ale-refactor*
+
+ALE supports renaming symbols in symbols in code such as variables or class
+names with the |ALERename| command.
+
+|ALECodeAction| will execute actions on the cursor or applied to a visual
+range selection, such as automatically fixing errors.
+
+
===============================================================================
6. Global Options *ale-options*
@@ -3107,6 +3118,18 @@ ALERename *ALERename*
in those files will not be updated.
+ALECodeAction *ALECodeAction*
+
+ Apply a code action via LSP servers or `tsserver`.
+
+ If there is an error present on a line that can be fixed, ALE will
+ automatically fix a line, unless there are multiple possible code fixes to
+ apply.
+
+ This command can be run in visual mode apply actions, such as applicable
+ refactors. A menu will be shown to select code action to apply.
+
+
ALERepeatSelection *ALERepeatSelection*
Repeat the last selection displayed in the preview window.