mirror of
https://github.com/mfussenegger/nvim-jdtls
synced 2024-09-16 14:34:13 +02:00
Fix extract variable with replace all occurrences
Adds extractVariableAllOccurrence to inferSelectionSupport to make the "Extract to local variable (replace all occurrences)" code action work Closes https://github.com/mfussenegger/nvim-jdtls/issues/371
This commit is contained in:
parent
82e9feb6eb
commit
38ac798fe5
1 changed files with 6 additions and 1 deletions
|
@ -128,7 +128,12 @@ M.extendedClientCapabilities = {
|
|||
generateDelegateMethodsPromptSupport = true;
|
||||
moveRefactoringSupport = true;
|
||||
overrideMethodsPromptSupport = true;
|
||||
inferSelectionSupport = {"extractMethod", "extractVariable", "extractConstant"};
|
||||
inferSelectionSupport = {
|
||||
"extractMethod",
|
||||
"extractVariable",
|
||||
"extractConstant",
|
||||
"extractVariableAllOccurrence"
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue