diff --git a/lua/jc/server.lua b/lua/jc/server.lua index 942dc6e..caaba89 100644 --- a/lua/jc/server.lua +++ b/lua/jc/server.lua @@ -240,6 +240,22 @@ local function lspconfig_setup(paths) init_options = { bundles = bundles, extendedClientCapabilities = { + actionableRuntimeNotificationSupport = true, + advancedGenerateAccessorsSupport = true, + advancedIntroduceParameterRefactoringSupport = true, + advancedUpgradeGradleSupport = true, + clientHoverProvider = false, + extractInterfaceSupport = true, + gradleChecksumWrapperPromptSupport = true, + inferSelectionSupport = { + "extractConstant", + "extractField", + "extractInterface", + "extractMethod", + "extractVariableAllOccurrence", + "extractVariable", + }, + onCompletionItemSelectedCommand = "editor.action.triggerParameterHints", classFileContentsSupport = true, generateToStringPromptSupport = true, hashCodeEqualsPromptSupport = true, @@ -250,12 +266,6 @@ local function lspconfig_setup(paths) moveRefactoringSupport = true, overrideMethodsPromptSupport = true, executeClientCommandSupport = true, - inferSelectionSupport = { - "extractMethod", - "extractVariable", - "extractConstant", - "extractVariableAllOccurrence", - }, }, capabilities = caps, workspace = path.get_project_dirs().workspace_dir,