Skip to content

Commit 0c2a5d2

Browse files
chore(doc): automatic vimdoc update (#251)
Co-authored-by: s1n7ax <18459807+s1n7ax@users.noreply.github.com>
1 parent 0ec0f46 commit 0c2a5d2

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

doc/nvim-java.txt

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ PROFILES ~
144144

145145
REFACTOR ~
146146

147-
- `JavaRefactorExtractVariable` - Create a variable from returned value at cursor
147+
- `JavaRefactorExtractVariable` - Create a variable from value at cursor
148+
- `JavaRefactorExtractVariableAllOccurrence` - Create a variable for all
149+
occurrences from value at cursor
150+
- `JavaRefactorExtractConstant` - Create a constant from the value at cursor
151+
- `JavaRefactorExtractMethod` - Create method from the value at cursor
148152

149153

150154
SETTINGS ~
@@ -241,12 +245,31 @@ PROFILES ~
241245

242246
REFACTOR ~
243247

244-
- `extract_variable` - Create a variable from returned value at cursor
248+
- `extract_variable` - Create a variable from value at cursor
245249

246250
>lua
247251
require('java').refactor.extract_variable()
248252
<
249253

254+
- `extract_variable_all_occurrence` - Create a variable for all occurrences from
255+
value at cursor
256+
257+
>lua
258+
require('java').refactor.extract_variable_all_occurrence()
259+
<
260+
261+
- `extract_constant` - Create a constant from the value at cursor
262+
263+
>lua
264+
require('java').refactor.extract_constant()
265+
<
266+
267+
- `extract_method` - Create method from the value at cursor
268+
269+
>lua
270+
require('java').refactor.extract_method()
271+
<
272+
250273

251274
SETTINGS ~
252275

0 commit comments

Comments
 (0)