Skip to content

Instantly share code, notes, and snippets.

@qianwch
Last active June 24, 2022 03:10
Show Gist options
  • Save qianwch/509c729f32d85a1ab413f30bb968c096 to your computer and use it in GitHub Desktop.
Save qianwch/509c729f32d85a1ab413f30bb968c096 to your computer and use it in GitHub Desktop.
lsp.log
[INFO][2022-06-24 11:00:51] .../vim/lsp/rpc.lua:261 "Starting RPC client" { args = { "-configuration", "/Users/qianwch/.cache/jdtls/config", "-data", "/Users/qianwch/.cache/jdtls/workspace" }, cmd = "jdtls", extra = { cwd = "/Users/qianwch/Downloads/demo-3" }}
[TRACE][2022-06-24 11:00:51] .../lua/vim/lsp.lua:953 "LSP[jdtls]" "initialize_params" { capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = false }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.7.0" }, initializationOptions = { jvm_args = {}, workspace = "/Users/qianwch/.cache/jdtls/workspace" }, processId = 93515, rootPath = "/Users/qianwch/Downloads/demo-3", rootUri = "file:///Users/qianwch/Downloads/demo-3", trace = "off", workspaceFolders = { { name = "/Users/qianwch/Downloads/demo-3", uri = "file:///Users/qianwch/Downloads/demo-3" } }}
[DEBUG][2022-06-24 11:00:51] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = false }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.7.0" }, initializationOptions = { jvm_args = {}, workspace = "/Users/qianwch/.cache/jdtls/workspace" }, processId = 93515, rootPath = "/Users/qianwch/Downloads/demo-3", rootUri = "file:///Users/qianwch/Downloads/demo-3", trace = "off", workspaceFolders = { { name = "/Users/qianwch/Downloads/demo-3", uri = "file:///Users/qianwch/Downloads/demo-3" } } }}
[ERROR][2022-06-24 11:00:53] .../vim/lsp/rpc.lua:420 "rpc" "jdtls" "stderr" 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".'
[ERROR][2022-06-24 11:00:53] .../vim/lsp/rpc.lua:420 "rpc" "jdtls" "stderr" "\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n"
[DEBUG][2022-06-24 11:00:54] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "Init...", type = "Starting" }}
[TRACE][2022-06-24 11:00:54] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "Init...", type = "Starting"}
[DEBUG][2022-06-24 11:00:54] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "0% Starting Java Language Server", type = "Starting" }}
[TRACE][2022-06-24 11:00:54] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "0% Starting Java Language Server", type = "Starting"}
[DEBUG][2022-06-24 11:00:54] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { callHierarchyProvider = true, codeActionProvider = { resolveProvider = true }, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "@", "#", "*", " " } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentOnTypeFormattingProvider = { firstTriggerCharacter = ";", moreTriggerCharacter = { "\n", "}" } }, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "vscode.java.checkProjectSettings", "vscode.java.isOnClasspath", "java.project.import", "vscode.java.fetchUsageData", "vscode.java.validateLaunchConfig", "java.navigate.openTypeHierarchy", "java.project.resolveStackTraceLocation", "java.edit.stringFormatting", "vscode.java.resolveMainMethod", "java.project.getSettings", "java.project.resolveWorkspaceSymbol", "java.project.upgradeGradle", "vscode.java.resolveMainClass", "vscode.java.buildWorkspace", "vscode.java.resolveElementAtSelection", "vscode.java.resolveJavaExecutable", "java.edit.organizeImports", "java.project.refreshDiagnostics", "vscode.java.resolveInlineVariables", "java.project.removeFromSourcePath", "java.project.listSourcePaths", "java.project.getAll", "java.project.isTestFile", "vscode.java.resolveClassFilters", "java.project.getClasspaths", "java.navigate.resolveTypeHierarchy", "java.project.updateSourceAttachment", "vscode.java.resolveClasspath", "vscode.java.resolveBuildFiles", "vscode.java.updateDebugSettings", "vscode.java.resolveSourceUri", "vscode.java.fetchPlatformSettings", "java.project.resolveSourceAttachment", "java.project.addToSourcePath", "vscode.java.startDebugSession", "vscode.java.inferLaunchCommandLength" } }, foldingRangeProvider = true, hoverProvider = true, implementationProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, selectionRangeProvider = true, semanticTokensProvider = { documentSelector = { { language = "java", scheme = "file" }, { language = "java", scheme = "jdt" } }, full = { delta = false }, legend = { tokenModifiers = { "abstract", "static", "readonly", "deprecated", "declaration", "documentation", "public", "private", "protected", "native", "generic", "typeArgument", "importDeclaration", "constructor" }, tokenTypes = { "namespace", "class", "interface", "enum", "enumMember", "type", "typeParameter", "method", "property", "variable", "parameter", "modifier", "keyword", "annotation", "annotationMember", "record", "recordComponent" } }, range = false }, signatureHelpProvider = { triggerCharacters = { "(", "," } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = true } }, typeDefinitionProvider = true, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = true } }}
[DEBUG][2022-06-24 11:00:54] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()}
[DEBUG][2022-06-24 11:00:54] .../lua/vim/lsp.lua:982 "LSP[jdtls]" "server_capabilities" { callHierarchyProvider = true, codeActionProvider = { resolveProvider = true }, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "@", "#", "*", " " } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentOnTypeFormattingProvider = { firstTriggerCharacter = ";", moreTriggerCharacter = { "\n", "}" } }, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "vscode.java.checkProjectSettings", "vscode.java.isOnClasspath", "java.project.import", "vscode.java.fetchUsageData", "vscode.java.validateLaunchConfig", "java.navigate.openTypeHierarchy", "java.project.resolveStackTraceLocation", "java.edit.stringFormatting", "vscode.java.resolveMainMethod", "java.project.getSettings", "java.project.resolveWorkspaceSymbol", "java.project.upgradeGradle", "vscode.java.resolveMainClass", "vscode.java.buildWorkspace", "vscode.java.resolveElementAtSelection", "vscode.java.resolveJavaExecutable", "java.edit.organizeImports", "java.project.refreshDiagnostics", "vscode.java.resolveInlineVariables", "java.project.removeFromSourcePath", "java.project.listSourcePaths", "java.project.getAll", "java.project.isTestFile", "vscode.java.resolveClassFilters", "java.project.getClasspaths", "java.navigate.resolveTypeHierarchy", "java.project.updateSourceAttachment", "vscode.java.resolveClasspath", "vscode.java.resolveBuildFiles", "vscode.java.updateDebugSettings", "vscode.java.resolveSourceUri", "vscode.java.fetchPlatformSettings", "java.project.resolveSourceAttachment", "java.project.addToSourcePath", "vscode.java.startDebugSession", "vscode.java.inferLaunchCommandLength" } }, foldingRangeProvider = true, hoverProvider = true, implementationProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, selectionRangeProvider = true, semanticTokensProvider = { documentSelector = { { language = "java", scheme = "file" }, { language = "java", scheme = "jdt" } }, full = { delta = false }, legend = { tokenModifiers = { "abstract", "static", "readonly", "deprecated", "declaration", "documentation", "public", "private", "protected", "native", "generic", "typeArgument", "importDeclaration", "constructor" }, tokenTypes = { "namespace", "class", "interface", "enum", "enumMember", "type", "typeParameter", "method", "property", "variable", "parameter", "modifier", "keyword", "annotation", "annotationMember", "record", "recordComponent" } }, range = false }, signatureHelpProvider = { triggerCharacters = { "(", "," } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = true } }, typeDefinitionProvider = true, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = true}
[INFO][2022-06-24 11:00:54] .../lua/vim/lsp.lua:983 "LSP[jdtls]" "initialized" { resolved_capabilities = { call_hierarchy = true, code_action = { resolveProvider = true }, code_lens = true, code_lens_resolve = true, completion = true, declaration = false, document_formatting = true, document_highlight = true, document_range_formatting = true, document_symbol = true, execute_command = true, find_references = true, goto_definition = true, hover = true, implementation = true, rename = true, signature_help = true, signature_help_trigger_characters = { "(", "," }, text_document_did_change = 2, text_document_open_close = true, text_document_save = { includeText = true }, text_document_save_include_text = true, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = true, workspace_folder_properties = { changeNotifications = true, supported = true }, workspace_symbol = true }}
[DEBUG][2022-06-24 11:00:54] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "java", text = "package com.example.demo;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\n\n@SpringBootApplication\npublic class DemoApplication1 {\n\n public static void main(String[] args) {\n SpringApplication.run(DemoApplication1.class, args);\n }\n\n}\n", uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java", version = 0 } }}
[DEBUG][2022-06-24 11:00:54] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "30% Starting Java Language Server", type = "Starting" }}
[TRACE][2022-06-24 11:00:54] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "30% Starting Java Language Server", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "34% Starting Java Language Server", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "34% Starting Java Language Server", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "OK", type = "ProjectStatus" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "OK", type = "ProjectStatus"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "1000% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "1000% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "1005% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "1005% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "1010% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "1010% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "1100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "1100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "1100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "1100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "Ready", type = "Started" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "Ready", type = "Started"}
[DEBUG][2022-06-24 11:00:55] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "1100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:00:55] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "1100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }}
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = "1", jsonrpc = "2.0", method = "client/registerCapability", params = { registrations = { { id = "a902493a-6484-49f4-8f09-d50209f9152a", method = "workspace/didChangeWorkspaceFolders" } } }}
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "ServiceReady", type = "ServiceReady" }}
[DEBUG][2022-06-24 11:00:57] .../lua/vim/lsp.lua:1023 "LSP[jdtls]" "client.request" 1 "textDocument/prepareRename" { position = { character = 23, line = 6 }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }} <function 1> 1
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 2, jsonrpc = "2.0", method = "textDocument/prepareRename", params = { position = { character = 23, line = 6 }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }}
[TRACE][2022-06-24 11:00:57] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java"}
[TRACE][2022-06-24 11:00:57] ...lsp/handlers.lua:487 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }}
[TRACE][2022-06-24 11:00:57] .../lua/vim/lsp.lua:806 "server_request" "client/registerCapability" { registrations = { { id = "a902493a-6484-49f4-8f09-d50209f9152a", method = "workspace/didChangeWorkspaceFolders" } }}
[TRACE][2022-06-24 11:00:57] .../lua/vim/lsp.lua:809 "server_request: found handler for" "client/registerCapability"
[TRACE][2022-06-24 11:00:57] ...lsp/handlers.lua:487 "default_handler" "client/registerCapability" { ctx = '{\n client_id = 1,\n method = "client/registerCapability"\n}', result = { registrations = { { id = "a902493a-6484-49f4-8f09-d50209f9152a", method = "workspace/didChangeWorkspaceFolders" } } }}
[WARN][2022-06-24 11:00:57] ...lsp/handlers.lua:109 "The language server jdtls triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:464 "server_request: callback result" { result = vim.NIL, status = true}
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:347 "rpc.send" { id = "1", jsonrpc = "2.0", result = vim.NIL}
[TRACE][2022-06-24 11:00:57] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "ServiceReady", type = "ServiceReady"}
[DEBUG][2022-06-24 11:00:57] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 2, jsonrpc = "2.0", result = { end = { character = 29, line = 6 }, start = { character = 13, line = 6 } }}
[DEBUG][2022-06-24 11:01:11] .../lua/vim/lsp.lua:1023 "LSP[jdtls]" "client.request" 1 "textDocument/prepareRename" { position = { character = 23, line = 6 }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }} <function 1> 1
[DEBUG][2022-06-24 11:01:11] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 3, jsonrpc = "2.0", method = "textDocument/prepareRename", params = { position = { character = 23, line = 6 }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }}
[DEBUG][2022-06-24 11:01:11] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 3, jsonrpc = "2.0", result = { end = { character = 29, line = 6 }, start = { character = 13, line = 6 } }}
[DEBUG][2022-06-24 11:01:12] .../lua/vim/lsp.lua:1023 "LSP[jdtls]" "client.request" 1 "textDocument/rename" { newName = "DemoApplication", position = { character = 23, line = 6 }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }} <function 1> 1
[DEBUG][2022-06-24 11:01:12] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 4, jsonrpc = "2.0", method = "textDocument/rename", params = { newName = "DemoApplication", position = { character = 23, line = 6 }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 4, jsonrpc = "2.0", result = { changes = vim.empty_dict(), documentChanges = { { edits = { { newText = "DemoApplication {\n\n public static void main(String[] args) {\n SpringApplication.run(DemoApplication", range = { end = { character = 42, line = 9 }, start = { character = 13, line = 6 } } } }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }, { kind = "rename", newUri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication.java", oldUri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } } }}
[TRACE][2022-06-24 11:01:18] ...lsp/handlers.lua:487 "default_handler" "textDocument/rename" { ctx = '{\n bufnr = 1,\n client_id = 1,\n method = "textDocument/rename",\n params = {\n newName = "DemoApplication",\n position = {\n character = 23,\n line = 6\n },\n textDocument = {\n uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java"\n }\n }\n}', result = { changes = vim.empty_dict(), documentChanges = { { edits = { { newText = "DemoApplication {\n\n public static void main(String[] args) {\n SpringApplication.run(DemoApplication", range = { end = { character = 42, line = 9 }, start = { character = 13, line = 6 } } } }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }, { kind = "rename", newUri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication.java", oldUri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } } }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { end = { character = 42, line = 9 }, start = { character = 28, line = 6 } }, rangeLength = 90, text = " {\n\n public static void main(String[] args) {\n SpringApplication.run(DemoApplication" } }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java", version = 4 } }}
[DEBUG][2022-06-24 11:01:18] .../lua/vim/lsp.lua:1023 "LSP[jdtls]" "client.request" 1 "textDocument/formatting" { options = { insertSpaces = true, tabSize = 2, trimTrailingWhitespace = true }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }} <function 1> 1
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 5, jsonrpc = "2.0", method = "textDocument/formatting", params = { options = { insertSpaces = true, tabSize = 2, trimTrailingWhitespace = true }, textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 5, jsonrpc = "2.0", result = {}}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didSave", params = { text = "package com.example.demo;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\n\n@SpringBootApplication\npublic class DemoApplication {\n\n public static void main(String[] args) {\n SpringApplication.run(DemoApplication.class, args);\n }\n\n}\n", textDocument = { uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" } }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3" }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/pom.xml" }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }}
[INFO][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:261 "Starting RPC client" { args = { "-configuration", "/Users/qianwch/.cache/jdtls/config", "-data", "/Users/qianwch/.cache/jdtls/workspace" }, cmd = "jdtls", extra = { cwd = "/Users/qianwch/Downloads/demo-3" }}
[TRACE][2022-06-24 11:01:18] .../lua/vim/lsp.lua:953 "LSP[jdtls]" "initialize_params" { capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = false }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.7.0" }, initializationOptions = { jvm_args = {}, workspace = "/Users/qianwch/.cache/jdtls/workspace" }, processId = 93515, rootPath = "/Users/qianwch/Downloads/demo-3", rootUri = "file:///Users/qianwch/Downloads/demo-3", trace = "off", workspaceFolders = { { name = "/Users/qianwch/Downloads/demo-3", uri = "file:///Users/qianwch/Downloads/demo-3" } }}
[DEBUG][2022-06-24 11:01:18] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = false }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.7.0" }, initializationOptions = { jvm_args = {}, workspace = "/Users/qianwch/.cache/jdtls/workspace" }, processId = 93515, rootPath = "/Users/qianwch/Downloads/demo-3", rootUri = "file:///Users/qianwch/Downloads/demo-3", trace = "off", workspaceFolders = { { name = "/Users/qianwch/Downloads/demo-3", uri = "file:///Users/qianwch/Downloads/demo-3" } } }}
[TRACE][2022-06-24 11:01:18] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3"}
[TRACE][2022-06-24 11:01:18] ...lsp/handlers.lua:487 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3" }}
[TRACE][2022-06-24 11:01:18] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/pom.xml"}
[TRACE][2022-06-24 11:01:18] ...lsp/handlers.lua:487 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/pom.xml" }}
[TRACE][2022-06-24 11:01:18] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java"}
[TRACE][2022-06-24 11:01:18] ...lsp/handlers.lua:487 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication1.java" }}
[ERROR][2022-06-24 11:01:20] .../vim/lsp/rpc.lua:420 "rpc" "jdtls" "stderr" 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\n'
[ERROR][2022-06-24 11:01:20] .../vim/lsp/rpc.lua:420 "rpc" "jdtls" "stderr" "SLF4J: Defaulting to no-operation (NOP) logger implementation\n"
[ERROR][2022-06-24 11:01:20] .../vim/lsp/rpc.lua:420 "rpc" "jdtls" "stderr" "SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n"
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "Init...", type = "Starting" }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "0% Starting Java Language Server", type = "Starting" }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { callHierarchyProvider = true, codeActionProvider = { resolveProvider = true }, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "@", "#", "*", " " } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentOnTypeFormattingProvider = { firstTriggerCharacter = ";", moreTriggerCharacter = { "\n", "}" } }, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "vscode.java.checkProjectSettings", "vscode.java.isOnClasspath", "java.project.import", "vscode.java.fetchUsageData", "vscode.java.validateLaunchConfig", "java.navigate.openTypeHierarchy", "java.project.resolveStackTraceLocation", "java.edit.stringFormatting", "vscode.java.resolveMainMethod", "java.project.getSettings", "java.project.resolveWorkspaceSymbol", "java.project.upgradeGradle", "vscode.java.resolveMainClass", "vscode.java.buildWorkspace", "vscode.java.resolveElementAtSelection", "vscode.java.resolveJavaExecutable", "java.edit.organizeImports", "java.project.refreshDiagnostics", "vscode.java.resolveInlineVariables", "java.project.removeFromSourcePath", "java.project.listSourcePaths", "java.project.getAll", "java.project.isTestFile", "vscode.java.resolveClassFilters", "java.project.getClasspaths", "java.navigate.resolveTypeHierarchy", "java.project.updateSourceAttachment", "vscode.java.resolveClasspath", "vscode.java.resolveBuildFiles", "vscode.java.updateDebugSettings", "vscode.java.resolveSourceUri", "vscode.java.fetchPlatformSettings", "java.project.resolveSourceAttachment", "java.project.addToSourcePath", "vscode.java.startDebugSession", "vscode.java.inferLaunchCommandLength" } }, foldingRangeProvider = true, hoverProvider = true, implementationProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, selectionRangeProvider = true, semanticTokensProvider = { documentSelector = { { language = "java", scheme = "file" }, { language = "java", scheme = "jdt" } }, full = { delta = false }, legend = { tokenModifiers = { "abstract", "static", "readonly", "deprecated", "declaration", "documentation", "public", "private", "protected", "native", "generic", "typeArgument", "importDeclaration", "constructor" }, tokenTypes = { "namespace", "class", "interface", "enum", "enumMember", "type", "typeParameter", "method", "property", "variable", "parameter", "modifier", "keyword", "annotation", "annotationMember", "record", "recordComponent" } }, range = false }, signatureHelpProvider = { triggerCharacters = { "(", "," } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = true } }, typeDefinitionProvider = true, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = true } }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "30% Starting Java Language Server", type = "Starting" }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "34% Starting Java Language Server", type = "Starting" }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "OK", type = "ProjectStatus" }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[DEBUG][2022-06-24 11:01:21] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "Ready", type = "Started" }}
[DEBUG][2022-06-24 11:01:22] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting" }}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "Init...", type = "Starting"}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "0% Starting Java Language Server", type = "Starting"}
[DEBUG][2022-06-24 11:01:30] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()}
[DEBUG][2022-06-24 11:01:30] .../lua/vim/lsp.lua:982 "LSP[jdtls]" "server_capabilities" { callHierarchyProvider = true, codeActionProvider = { resolveProvider = true }, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "@", "#", "*", " " } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentOnTypeFormattingProvider = { firstTriggerCharacter = ";", moreTriggerCharacter = { "\n", "}" } }, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "vscode.java.checkProjectSettings", "vscode.java.isOnClasspath", "java.project.import", "vscode.java.fetchUsageData", "vscode.java.validateLaunchConfig", "java.navigate.openTypeHierarchy", "java.project.resolveStackTraceLocation", "java.edit.stringFormatting", "vscode.java.resolveMainMethod", "java.project.getSettings", "java.project.resolveWorkspaceSymbol", "java.project.upgradeGradle", "vscode.java.resolveMainClass", "vscode.java.buildWorkspace", "vscode.java.resolveElementAtSelection", "vscode.java.resolveJavaExecutable", "java.edit.organizeImports", "java.project.refreshDiagnostics", "vscode.java.resolveInlineVariables", "java.project.removeFromSourcePath", "java.project.listSourcePaths", "java.project.getAll", "java.project.isTestFile", "vscode.java.resolveClassFilters", "java.project.getClasspaths", "java.navigate.resolveTypeHierarchy", "java.project.updateSourceAttachment", "vscode.java.resolveClasspath", "vscode.java.resolveBuildFiles", "vscode.java.updateDebugSettings", "vscode.java.resolveSourceUri", "vscode.java.fetchPlatformSettings", "java.project.resolveSourceAttachment", "java.project.addToSourcePath", "vscode.java.startDebugSession", "vscode.java.inferLaunchCommandLength" } }, foldingRangeProvider = true, hoverProvider = true, implementationProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, selectionRangeProvider = true, semanticTokensProvider = { documentSelector = { { language = "java", scheme = "file" }, { language = "java", scheme = "jdt" } }, full = { delta = false }, legend = { tokenModifiers = { "abstract", "static", "readonly", "deprecated", "declaration", "documentation", "public", "private", "protected", "native", "generic", "typeArgument", "importDeclaration", "constructor" }, tokenTypes = { "namespace", "class", "interface", "enum", "enumMember", "type", "typeParameter", "method", "property", "variable", "parameter", "modifier", "keyword", "annotation", "annotationMember", "record", "recordComponent" } }, range = false }, signatureHelpProvider = { triggerCharacters = { "(", "," } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = true } }, typeDefinitionProvider = true, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = true}
[INFO][2022-06-24 11:01:30] .../lua/vim/lsp.lua:983 "LSP[jdtls]" "initialized" { resolved_capabilities = { call_hierarchy = true, code_action = { resolveProvider = true }, code_lens = true, code_lens_resolve = true, completion = true, declaration = false, document_formatting = true, document_highlight = true, document_range_formatting = true, document_symbol = true, execute_command = true, find_references = true, goto_definition = true, hover = true, implementation = true, rename = true, signature_help = true, signature_help_trigger_characters = { "(", "," }, text_document_did_change = 2, text_document_open_close = true, text_document_save = { includeText = true }, text_document_save_include_text = true, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = true, workspace_folder_properties = { changeNotifications = true, supported = true }, workspace_symbol = true }}
[DEBUG][2022-06-24 11:01:30] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "java", text = "package com.example.demo;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\n\n@SpringBootApplication\npublic class DemoApplication {\n\n public static void main(String[] args) {\n SpringApplication.run(DemoApplication.class, args);\n }\n\n}\n", uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication.java", version = 0 } }}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "30% Starting Java Language Server", type = "Starting"}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "34% Starting Java Language Server", type = "Starting"}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "OK", type = "ProjectStatus"}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "Ready", type = "Started"}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "100% Starting Java Language Server - Refreshing '/demo'.", type = "Starting"}
[DEBUG][2022-06-24 11:01:30] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = "1", jsonrpc = "2.0", method = "client/registerCapability", params = { registrations = { { id = "6012a890-f995-4fa2-9720-2c886fa670cc", method = "workspace/didChangeWorkspaceFolders" } } }}
[DEBUG][2022-06-24 11:01:30] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "language/status", params = { message = "ServiceReady", type = "ServiceReady" }}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:806 "server_request" "client/registerCapability" { registrations = { { id = "6012a890-f995-4fa2-9720-2c886fa670cc", method = "workspace/didChangeWorkspaceFolders" } }}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:809 "server_request: found handler for" "client/registerCapability"
[TRACE][2022-06-24 11:01:30] ...lsp/handlers.lua:487 "default_handler" "client/registerCapability" { ctx = '{\n client_id = 2,\n method = "client/registerCapability"\n}', result = { registrations = { { id = "6012a890-f995-4fa2-9720-2c886fa670cc", method = "workspace/didChangeWorkspaceFolders" } } }}
[WARN][2022-06-24 11:01:30] ...lsp/handlers.lua:109 "The language server jdtls triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2022-06-24 11:01:30] .../vim/lsp/rpc.lua:464 "server_request: callback result" { result = vim.NIL, status = true}
[DEBUG][2022-06-24 11:01:30] .../vim/lsp/rpc.lua:347 "rpc.send" { id = "1", jsonrpc = "2.0", result = vim.NIL}
[TRACE][2022-06-24 11:01:30] .../lua/vim/lsp.lua:792 "notification" "language/status" { message = "ServiceReady", type = "ServiceReady"}
[DEBUG][2022-06-24 11:01:31] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication.java" }}
[TRACE][2022-06-24 11:01:31] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication.java"}
[TRACE][2022-06-24 11:01:31] ...lsp/handlers.lua:487 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 2,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///Users/qianwch/Downloads/demo-3/src/main/java/com/example/demo/DemoApplication.java" }}
[INFO][2022-06-24 11:05:09] .../lua/vim/lsp.lua:1392 "exit_handler" { [2] = { _on_attach = <function 1>, attached_buffers = { [3] = true }, cancel_request = <function 2>, commands = {}, config = { autostart = true, capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = false }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, cmd = { "jdtls", "-configuration", "/Users/qianwch/.cache/jdtls/config", "-data", "/Users/qianwch/.cache/jdtls/workspace" }, cmd_cwd = "/Users/qianwch/Downloads/demo-3", filetypes = { "java" }, flags = {}, get_language_id = <function 3>, handlers = <1>{ ["language/status"] = <function 4>, ["textDocument/codeAction"] = <function 5>, ["textDocument/rename"] = <function 6>, ["workspace/applyEdit"] = <function 7> }, init_options = { jvm_args = {}, workspace = "/Users/qianwch/.cache/jdtls/workspace" }, log_level = 2, message_level = 2, name = "jdtls", on_attach = <function 8>, on_exit = <function 9>, on_init = <function 10>, root_dir = "/Users/qianwch/Downloads/demo-3", settings = vim.empty_dict(), single_file_support = true, workspace_folders = <2>{ { name = "/Users/qianwch/Downloads/demo-3", uri = "file:///Users/qianwch/Downloads/demo-3" } }, <metatable> = <3>{ __tostring = <function 11> } }, handlers = <table 1>, id = 2, initialized = true, is_stopped = <function 12>, messages = { messages = {}, name = "jdtls", progress = {}, status = {} }, name = "jdtls", notify = <function 13>, offset_encoding = "utf-16", request = <function 14>, request_sync = <function 15>, requests = {}, resolved_capabilities = { call_hierarchy = true, code_action = <4>{ resolveProvider = true }, code_lens = true, code_lens_resolve = true, completion = true, declaration = false, document_formatting = true, document_highlight = true, document_range_formatting = true, document_symbol = true, execute_command = true, find_references = true, goto_definition = true, hover = true, implementation = true, rename = true, signature_help = true, signature_help_trigger_characters = <5>{ "(", "," }, text_document_did_change = 2, text_document_open_close = true, text_document_save = <6>{ includeText = true }, text_document_save_include_text = true, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = true, workspace_folder_properties = { changeNotifications = true, supported = true }, workspace_symbol = true }, rpc = { handle = <userdata 1>, notify = <function 16>, pid = 93542, request = <function 17> }, server_capabilities = { callHierarchyProvider = true, codeActionProvider = <table 4>, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ".", "@", "#", "*", " " } }, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentOnTypeFormattingProvider = { firstTriggerCharacter = ";", moreTriggerCharacter = { "\n", "}" } }, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "vscode.java.checkProjectSettings", "vscode.java.isOnClasspath", "java.project.import", "vscode.java.fetchUsageData", "vscode.java.validateLaunchConfig", "java.navigate.openTypeHierarchy", "java.project.resolveStackTraceLocation", "java.edit.stringFormatting", "vscode.java.resolveMainMethod", "java.project.getSettings", "java.project.resolveWorkspaceSymbol", "java.project.upgradeGradle", "vscode.java.resolveMainClass", "vscode.java.buildWorkspace", "vscode.java.resolveElementAtSelection", "vscode.java.resolveJavaExecutable", "java.edit.organizeImports", "java.project.refreshDiagnostics", "vscode.java.resolveInlineVariables", "java.project.removeFromSourcePath", "java.project.listSourcePaths", "java.project.getAll", "java.project.isTestFile", "vscode.java.resolveClassFilters", "java.project.getClasspaths", "java.navigate.resolveTypeHierarchy", "java.project.updateSourceAttachment", "vscode.java.resolveClasspath", "vscode.java.resolveBuildFiles", "vscode.java.updateDebugSettings", "vscode.java.resolveSourceUri", "vscode.java.fetchPlatformSettings", "java.project.resolveSourceAttachment", "java.project.addToSourcePath", "vscode.java.startDebugSession", "vscode.java.inferLaunchCommandLength" } }, foldingRangeProvider = true, hoverProvider = true, implementationProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, selectionRangeProvider = true, semanticTokensProvider = { documentSelector = { { language = "java", scheme = "file" }, { language = "java", scheme = "jdt" } }, full = { delta = false }, legend = { tokenModifiers = { "abstract", "static", "readonly", "deprecated", "declaration", "documentation", "public", "private", "protected", "native", "generic", "typeArgument", "importDeclaration", "constructor" }, tokenTypes = { "namespace", "class", "interface", "enum", "enumMember", "type", "typeParameter", "method", "property", "variable", "parameter", "modifier", "keyword", "annotation", "annotationMember", "record", "recordComponent" } }, range = false }, signatureHelpProvider = { triggerCharacters = <table 5> }, textDocumentSync = { change = 2, openClose = true, save = <table 6> }, typeDefinitionProvider = true, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = true }, stop = <function 18>, supports_method = <function 19>, workspaceFolders = <table 2>, workspace_did_change_configuration = <function 20>, workspace_folders = <table 2> }}
[DEBUG][2022-06-24 11:05:09] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 2, jsonrpc = "2.0", method = "shutdown"}
[DEBUG][2022-06-24 11:05:09] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 2, jsonrpc = "2.0", result = vim.empty_dict()}
[DEBUG][2022-06-24 11:05:09] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "exit"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment