Emacs gets stuck while editing a java file containing one or more errors
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start from the toggle-debug-on-exit backtrace, especially lsp-process-send and process-send-string while editing BatchInsertWithCsv.java with errors. Reproduce with OpenJDK 21, jdtls 1.45.0, and the reported lsp-java version; done means Emacs remains responsive without killing or restarting the jdtls server.
Written by the indexing model from the issue text.
Description
Describe the bug
Emacs editor gets stuck and becomes unresponsive, C-g does not help either.
Note
Have found that when java file contains errors while editing it more likely to get stuck.
To Reproduce
Frequently gets stuck while editing a java program.
Eventually, we have to kill the jdts server process and restart workspace.
Other details:
java version: openjdk-21.0.6
jtls ps:
/usr/bin/java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dlog.protocol=true -Dlog.level=ALL -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -jar /Users/arastogi/.emacs.d/.cache/lsp/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_1.6.1000.v20250131-0606.jar -configuration /Users/arastogi/.emacs.d/.cache/lsp/eclipse.jdt.ls/config_mac -data /Users/arastogi/.emacs.d/workspace/ --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED
jdtls version: 1.45.0
lsp-java: 20240524.2207
Expected behavior
{populate}
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
With toggle-debug-on-exit, i am able to capture below backtrace:
After exiting the backtrace it is again stuck.
Debugger entered--Lisp error: (quit)
process-send-string(#<process jdtls> "Content-Length: 66\15\n\15\n{\"jsonrpc\":\"2.0\",\"method\":\"$/cancelRequest\",\"params\":{\"id\":7303}}\n")
#f(compiled-function (process message) #<bytecode 0x94f871667b962fe>)(#<process jdtls> (:jsonrpc "2.0" :method "$/cancelRequest" :params (:id 7303)))
apply(#f(compiled-function (process message) #<bytecode 0x94f871667b962fe>) #<process jdtls> (:jsonrpc "2.0" :method "$/cancelRequest" :params (:id 7303)))
lsp-process-send(#<process jdtls> (:jsonrpc "2.0" :method "$/cancelRequest" :params (:id 7303)))
lsp--send-no-wait((:jsonrpc "2.0" :method "$/cancelRequest" :params (:id 7303)) #<process jdtls>)
#f(compiled-function (it) #<bytecode 0x385cd7df481d60c>)(#s(lsp--workspace :ewoc nil :server-capabilities (:textDocumentSync (:openClose t :change 2 :willSave t :willSaveWaitUntil t :save ...) :documentHighlightProvider t :documentSymbolProvider t :workspaceSymbolProvider t :codeLensProvider (:resolveProvider t) :executeCommandProvider (:commands ...) :workspace (:workspaceFolders ... :fileOperations ...) :callHierarchyProvider t :semanticTokensProvider (:legend ... :range nil :full ... :documentSelector ...) :inlayHintProvider t) :registered-server-capabilities (#s(lsp--registered-capability :id "5d466db0-15d1-4e18-acd7-7de17f00b7b7" :method "workspace/didChangeWatchedFiles" :options ...) #s(lsp--registered-capability :id "c63619f4-18ee-444d-8e55-7d3398dc2644" :method "textDocument/selectionRange" :options nil) #s(lsp--registered-capability :id "01b93fe0-41bb-45b4-a9e2-dc36dd99d6c6" :method "textDocument/foldingRange" :options nil) #s(lsp--registered-capability :id "26ec2876-0cc0-48df-8aa4-275a76af9163" :method "textDocument/codeAction" :options ...) #s(lsp--registered-capability :id "6d21d1d0-8eb9-48e8-bbc2-815cf3ce50e9" :method "textDocument/rename" :options ...) #s(lsp--registered-capability :id "29f914d3-5855-49ca-9846-08f8273881d4" :method "textDocument/signatureHelp" :options ...) #s(lsp--registered-capability :id "4417fd2f-9f60-4b2a-9a68-01782862bed6" :method "textDocument/onTypeFormatting" :options ...) #s(lsp--registered-capability :id "15a1b8a8-6a8a-43f0-b3ae-45e9356ddd7a" :method "textDocument/rangeFormatting" :options nil) #s(lsp--registered-capability :id "f3bfa884-a837-4cc4-9985-3a013d5b9ff2" :method "textDocument/formatting" :options nil) #s(lsp--registered-capability :id "c0bb8811-dc43-44d5-bd86-d06e22f24bea" :method "textDocument/completion" :options ...) #s(lsp--registered-capability :id "1f598a2f-d396-45c0-96ac-7a884083773c" :method "textDocument/implementation" :options nil) #s(lsp--registered-capability :id "174b56f3-4b7a-41ef-acfe-49fc30c2a5e4" :method "workspace/didChangeWorkspaceFolders" :options nil) #s(lsp--registered-capability :id "4f7f64fa-350e-4306-80b8-7f6f56ad8f12" :method "textDocument/references" :options nil) #s(lsp--registered-capability :id "fef40b8f-de0d-40a5-85d1-974f508898a6" :method "textDocument/hover" :options nil) #s(lsp--registered-capability :id "b7fd58c4-db2c-4448-9e25-88d0ea067b4e" :method "textDocument/typeDefinition" :options nil) #s(lsp--registered-capability :id "b87d2193-88f4-4ece-816f-415e51bd456c" :method "textDocument/declaration" :options nil) #s(lsp--registered-capability :id "16da865b-1aaa-4864-8a49-7d3ec5dc1933" :method "textDocument/definition" :options nil) #s(lsp--registered-capability :id "test-id" :method "workspace/didChangeWatchedFiles" :options ...)) :root "/Users/arastogi/code/yb-stress-test/tools/client-server" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode -0x5b521e1566fd692>) :test? lsp-java--locate-server-jar) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/6 0x43a5859d ...> :request-handlers #<hash-table equal 1/6 0x43a585f3 ...> :response-handlers #<hash-table eql 1/24 0x43a585c7 ...> :prefix-function nil :uri-handlers #<hash-table equal 1/6 0x43a585de ...> :action-handlers #<hash-table equal 11/24 0x43a585e0 ...> :action-filter nil :major-modes (java-mode java-ts-mode jdee-mode) :activation-fn nil :priority 0 :server-id jdtls :multi-root t :initialization-options #f(compiled-function () #<bytecode 0x1d08b017ec6832ab>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x119520a30e68dfe7>) :before-file-open-fn #f(compiled-function (workspace) #<bytecode -0xe854047997140c2>) :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1cfeff377fcaa736>) :remote? nil :completion-in-comments? t :path->uri-fn nil ...) :host-root nil :proc #<process jdtls> :cmd-proc #<process jdtls> :buffers (#<buffer BatchInsertWithCsv.java>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/0 0xd239367c ...> :watches #<hash-table equal 0/0 0xd239366a ...> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 115/192 0xd23936ab ...> :work-done-tokens #<hash-table equal 0/0 0xd23936bd ...>))
mapcar(#f(compiled-function (it) #<bytecode 0x385cd7df481d60c>) (#s(lsp--workspace :ewoc nil :server-capabilities (:textDocumentSync (:openClose t :change 2 :willSave t :willSaveWaitUntil t :save ...) :documentHighlightProvider t :documentSymbolProvider t :workspaceSymbolProvider t :codeLensProvider (:resolveProvider t) :executeCommandProvider (:commands ...) :workspace (:workspaceFolders ... :fileOperations ...) :callHierarchyProvider t :semanticTokensProvider (:legend ... :range nil :full ... :documentSelector ...) :inlayHintProvider t) :registered-server-capabilities (#s(lsp--registered-capability :id "5d466db0-15d1-4e18-acd7-7de17f00b7b7" :method "workspace/didChangeWatchedFiles" :options ...) #s(lsp--registered-capability :id "c63619f4-18ee-444d-8e55-7d3398dc2644" :method "textDocument/selectionRange" :options nil) #s(lsp--registered-capability :id "01b93fe0-41bb-45b4-a9e2-dc36dd99d6c6" :method "textDocument/foldingRange" :options nil) #s(lsp--registered-capability :id "26ec2876-0cc0-48df-8aa4-275a76af9163" :method "textDocument/codeAction" :options ...) #s(lsp--registered-capability :id "6d21d1d0-8eb9-48e8-bbc2-815cf3ce50e9" :method "textDocument/rename" :options ...) #s(lsp--registered-capability :id "29f914d3-5855-49ca-9846-08f8273881d4" :method "textDocument/signatureHelp" :options ...) #s(lsp--registered-capability :id "4417fd2f-9f60-4b2a-9a68-01782862bed6" :method "textDocument/onTypeFormatting" :options ...) #s(lsp--registered-capability :id "15a1b8a8-6a8a-43f0-b3ae-45e9356ddd7a" :method "textDocument/rangeFormatting" :options nil) #s(lsp--registered-capability :id "f3bfa884-a837-4cc4-9985-3a013d5b9ff2" :method "textDocument/formatting" :options nil) #s(lsp--registered-capability :id "c0bb8811-dc43-44d5-bd86-d06e22f24bea" :method "textDocument/completion" :options ...) #s(lsp--registered-capability :id "1f598a2f-d396-45c0-96ac-7a884083773c" :method "textDocument/implementation" :options nil) #s(lsp--registered-capability :id "174b56f3-4b7a-41ef-acfe-49fc30c2a5e4" :method "workspace/didChangeWorkspaceFolders" :options nil) #s(lsp--registered-capability :id "4f7f64fa-350e-4306-80b8-7f6f56ad8f12" :method "textDocument/references" :options nil) #s(lsp--registered-capability :id "fef40b8f-de0d-40a5-85d1-974f508898a6" :method "textDocument/hover" :options nil) #s(lsp--registered-capability :id "b7fd58c4-db2c-4448-9e25-88d0ea067b4e" :method "textDocument/typeDefinition" :options nil) #s(lsp--registered-capability :id "b87d2193-88f4-4ece-816f-415e51bd456c" :method "textDocument/declaration" :options nil) #s(lsp--registered-capability :id "16da865b-1aaa-4864-8a49-7d3ec5dc1933" :method "textDocument/definition" :options nil) #s(lsp--registered-capability :id "test-id" :method "workspace/didChangeWatchedFiles" :options ...)) :root "/Users/arastogi/code/yb-stress-test/tools/client-server" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode -0x5b521e1566fd692>) :test? lsp-java--locate-server-jar) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/6 0x43a5859d ...> :request-handlers #<hash-table equal 1/6 0x43a585f3 ...> :response-handlers #<hash-table eql 1/24 0x43a585c7 ...> :prefix-function nil :uri-handlers #<hash-table equal 1/6 0x43a585de ...> :action-handlers #<hash-table equal 11/24 0x43a585e0 ...> :action-filter nil :major-modes (java-mode java-ts-mode jdee-mode) :activation-fn nil :priority 0 :server-id jdtls :multi-root t :initialization-options #f(compiled-function () #<bytecode 0x1d08b017ec6832ab>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x119520a30e68dfe7>) :before-file-open-fn #f(compiled-function (workspace) #<bytecode -0xe854047997140c2>) :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1cfeff377fcaa736>) :remote? nil :completion-in-comments? t :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/0 0x43a58449 ...> :download-server-fn lsp-java--ensure-server :download-in-progress? nil ...) :host-root nil :proc #<process jdtls> :cmd-proc #<process jdtls> :buffers (#<buffer BatchInsertWithCsv.java>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/0 0xd239367c ...> :watches #<hash-table equal 0/0 0xd239366a ...> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 115/192 0xd23936ab ...> :work-done-tokens #<hash-table equal 0/0 0xd23936bd ...>)))
lsp--send-notification((:jsonrpc "2.0" :method "$/cancelRequest" :params (:id 7303)))
lsp-notify("$/cancelRequest" (:id 7303))
#f(compiled-function (it) #<bytecode -0x1cc67fe399a5c5f3>)(#s(lsp--workspace :ewoc nil :server-capabilities (:textDocumentSync (:openClose t :change 2 :willSave t :willSaveWaitUntil t :save ...) :documentHighlightProvider t :documentSymbolProvider t :workspaceSymbolProvider t :codeLensProvider (:resolveProvider t) :executeCommandProvider (:commands ...) :workspace (:workspaceFolders ... :fileOperations ...) :callHierarchyProvider t :semanticTokensProvider (:legend ... :range nil :full ... :documentSelector ...) :inlayHintProvider t) :registered-server-capabilities (#s(lsp--registered-capability :id "5d466db0-15d1-4e18-acd7-7de17f00b7b7" :method "workspace/didChangeWatchedFiles" :options ...) #s(lsp--registered-capability :id "c63619f4-18ee-444d-8e55-7d3398dc2644" :method "textDocument/selectionRange" :options nil) #s(lsp--registered-capability :id "01b93fe0-41bb-45b4-a9e2-dc36dd99d6c6" :method "textDocument/foldingRange" :options nil) #s(lsp--registered-capability :id "26ec2876-0cc0-48df-8aa4-275a76af9163" :method "textDocument/codeAction" :options ...) #s(lsp--registered-capability :id "6d21d1d0-8eb9-48e8-bbc2-815cf3ce50e9" :method "textDocument/rename" :options ...) #s(lsp--registered-capability :id "29f914d3-5855-49ca-9846-08f8273881d4" :method "textDocument/signatureHelp" :options ...) #s(lsp--registered-capability :id "4417fd2f-9f60-4b2a-9a68-01782862bed6" :method "textDocument/onTypeFormatting" :options ...) #s(lsp--registered-capability :id "15a1b8a8-6a8a-43f0-b3ae-45e9356ddd7a" :method "textDocument/rangeFormatting" :options nil) #s(lsp--registered-capability :id "f3bfa884-a837-4cc4-9985-3a013d5b9ff2" :method "textDocument/formatting" :options nil) #s(lsp--registered-capability :id "c0bb8811-dc43-44d5-bd86-d06e22f24bea" :method "textDocument/completion" :options ...) #s(lsp--registered-capability :id "1f598a2f-d396-45c0-96ac-7a884083773c" :method "textDocument/implementation" :options nil) #s(lsp--registered-capability :id "174b56f3-4b7a-41ef-acfe-49fc30c2a5e4" :method "workspace/didChangeWorkspaceFolders" :options nil) #s(lsp--registered-capability :id "4f7f64fa-350e-4306-80b8-7f6f56ad8f12" :method "textDocument/references" :options nil) #s(lsp--registered-capability :id "fef40b8f-de0d-40a5-85d1-974f508898a6" :method "textDocument/hover" :options nil) #s(lsp--registered-capability :id "b7fd58c4-db2c-4448-9e25-88d0ea067b4e" :method "textDocument/typeDefinition" :options nil) #s(lsp--registered-capability :id "b87d2193-88f4-4ece-816f-415e51bd456c" :method "textDocument/declaration" :options nil) #s(lsp--registered-capability :id "16da865b-1aaa-4864-8a49-7d3ec5dc1933" :method "textDocument/definition" :options nil) #s(lsp--registered-capability :id "test-id" :method "workspace/didChangeWatchedFiles" :options ...)) :root "/Users/arastogi/code/yb-stress-test/tools/client-server" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode -0x5b521e1566fd692>) :test? lsp-java--locate-server-jar) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/6 0x43a5859d ...> :request-handlers #<hash-table equal 1/6 0x43a585f3 ...> :response-handlers #<hash-table eql 1/24 0x43a585c7 ...> :prefix-function nil :uri-handlers #<hash-table equal 1/6 0x43a585de ...> :action-handlers #<hash-table equal 11/24 0x43a585e0 ...> :action-filter nil :major-modes (java-mode java-ts-mode jdee-mode) :activation-fn nil :priority 0 :server-id jdtls :multi-root t :initialization-options #f(compiled-function () #<bytecode 0x1d08b017ec6832ab>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x119520a30e68dfe7>) :before-file-open-fn #f(compiled-function (workspace) #<bytecode -0xe854047997140c2>) :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1cfeff377fcaa736>) :remote? nil :completion-in-comments? t :path->uri-fn nil ...) :host-root nil :proc #<process jdtls> :cmd-proc #<process jdtls> :buffers (#<buffer BatchInsertWithCsv.java>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/0 0xd239367c ...> :watches #<hash-table equal 0/0 0xd239366a ...> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 115/192 0xd23936ab ...> :work-done-tokens #<hash-table equal 0/0 0xd23936bd ...>))
mapcar(#f(compiled-function (it) #<bytecode -0x1cc67fe399a5c5f3>) (#s(lsp--workspace :ewoc nil :server-capabilities (:textDocumentSync (:openClose t :change 2 :willSave t :willSaveWaitUntil t :save ...) :documentHighlightProvider t :documentSymbolProvider t :workspaceSymbolProvider t :codeLensProvider (:resolveProvider t) :executeCommandProvider (:commands ...) :workspace (:workspaceFolders ... :fileOperations ...) :callHierarchyProvider t :semanticTokensProvider (:legend ... :range nil :full ... :documentSelector ...) :inlayHintProvider t) :registered-server-capabilities (#s(lsp--registered-capability :id "5d466db0-15d1-4e18-acd7-7de17f00b7b7" :method "workspace/didChangeWatchedFiles" :options ...) #s(lsp--registered-capability :id "c63619f4-18ee-444d-8e55-7d3398dc2644" :method "textDocument/selectionRange" :options nil) #s(lsp--registered-capability :id "01b93fe0-41bb-45b4-a9e2-dc36dd99d6c6" :method "textDocument/foldingRange" :options nil) #s(lsp--registered-capability :id "26ec2876-0cc0-48df-8aa4-275a76af9163" :method "textDocument/codeAction" :options ...) #s(lsp--registered-capability :id "6d21d1d0-8eb9-48e8-bbc2-815cf3ce50e9" :method "textDocument/rename" :options ...) #s(lsp--registered-capability :id "29f914d3-5855-49ca-9846-08f8273881d4" :method "textDocument/signatureHelp" :options ...) #s(lsp--registered-capability :id "4417fd2f-9f60-4b2a-9a68-01782862bed6" :method "textDocument/onTypeFormatting" :options ...) #s(lsp--registered-capability :id "15a1b8a8-6a8a-43f0-b3ae-45e9356ddd7a" :method "textDocument/rangeFormatting" :options nil) #s(lsp--registered-capability :id "f3bfa884-a837-4cc4-9985-3a013d5b9ff2" :method "textDocument/formatting" :options nil) #s(lsp--registered-capability :id "c0bb8811-dc43-44d5-bd86-d06e22f24bea" :method "textDocument/completion" :options ...) #s(lsp--registered-capability :id "1f598a2f-d396-45c0-96ac-7a884083773c" :method "textDocument/implementation" :options nil) #s(lsp--registered-capability :id "174b56f3-4b7a-41ef-acfe-49fc30c2a5e4" :method "workspace/didChangeWorkspaceFolders" :options nil) #s(lsp--registered-capability :id "4f7f64fa-350e-4306-80b8-7f6f56ad8f12" :method "textDocument/references" :options nil) #s(lsp--registered-capability :id "fef40b8f-de0d-40a5-85d1-974f508898a6" :method "textDocument/hover" :options nil) #s(lsp--registered-capability :id "b7fd58c4-db2c-4448-9e25-88d0ea067b4e" :method "textDocument/typeDefinition" :options nil) #s(lsp--registered-capability :id "b87d2193-88f4-4ece-816f-415e51bd456c" :method "textDocument/declaration" :options nil) #s(lsp--registered-capability :id "16da865b-1aaa-4864-8a49-7d3ec5dc1933" :method "textDocument/definition" :options nil) #s(lsp--registered-capability :id "test-id" :method "workspace/didChangeWatchedFiles" :options ...)) :root "/Users/arastogi/code/yb-stress-test/tools/client-server" :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode -0x5b521e1566fd692>) :test? lsp-java--locate-server-jar) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/6 0x43a5859d ...> :request-handlers #<hash-table equal 1/6 0x43a585f3 ...> :response-handlers #<hash-table eql 1/24 0x43a585c7 ...> :prefix-function nil :uri-handlers #<hash-table equal 1/6 0x43a585de ...> :action-handlers #<hash-table equal 11/24 0x43a585e0 ...> :action-filter nil :major-modes (java-mode java-ts-mode jdee-mode) :activation-fn nil :priority 0 :server-id jdtls :multi-root t :initialization-options #f(compiled-function () #<bytecode 0x1d08b017ec6832ab>) :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x119520a30e68dfe7>) :before-file-open-fn #f(compiled-function (workspace) #<bytecode -0xe854047997140c2>) :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1cfeff377fcaa736>) :remote? nil :completion-in-comments? t :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/0 0x43a58449 ...> :download-server-fn lsp-java--ensure-server :download-in-progress? nil ...) :host-root nil :proc #<process jdtls> :cmd-proc #<process jdtls> :buffers (#<buffer BatchInsertWithCsv.java>) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/0 0xd239367c ...> :watches #<hash-table equal 0/0 0xd239366a ...> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 115/192 0xd23936ab ...> :work-done-tokens #<hash-table equal 0/0 0xd23936bd ...>)))
lsp--cancel-request(7303)
lsp-cancel-request-by-token(:document-symbols)
lsp--send-request-async((:jsonrpc "2.0" :method "textDocument/documentSymbol" :params (:textDocument (:uri "file:///Users/arastogi/code/yb-stress-test/tools/client-server/src/main/java/com/yugabyte/tools/BatchInsertWithCsv.java"))) #f(compiled-function (document-symbols) #<bytecode -0xa0e7ec53720c6e>) alive nil nil nil :document-symbols)
lsp-request-async("textDocument/documentSymbol" (:textDocument (:uri "file:///Users/arastogi/code/yb-stress-test/tools/client-server/src/main/java/com/yugabyte/tools/BatchInsertWithCsv.java")) #f(compiled-function (document-symbols) #<bytecode -0xa0e7ec53720c6e>) :mode alive :cancel-token :document-symbols)
lsp--get-document-symbols()
lsp-headerline--build-symbol-string()
#f(compiled-function (segment) #<bytecode -0x3c36891daebf55d>)(symbols)
mapconcat(#f(compiled-function (segment) #<bytecode -0x3c36891daebf55d>) (path-up-to-project file symbols) "")
lsp-headerline--build-string()
lsp-headerline--check-breadcrumb()
run-hooks(lsp-on-idle-hook)
lsp--on-idle(#<buffer BatchInsertWithCsv.java>)
apply(lsp--on-idle #<buffer BatchInsertWithCsv.java>)
timer-event-handler([t 0 0 500000 nil lsp--on-idle (#<buffer BatchInsertWithCsv.java>) idle 0 nil])
- Dominant language
- Emacs Lisp
- Stars
- 696
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from emacs-lsp/lsp-java
-
dap-java discards module paths from resolveClasspath causing JPMS-modular projects fail to launchOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in emacs-lsp/lsp-java
Similar issues
-
area/config comp/cli comp/plugins duplicate P3 sweeper:risk-compatibility type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
NousResearch/hermes-agent#127405 · 2 comments ·
Maintainers usually reply within 1 day
-
area:*of bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oapi-codegen/oapi-codegen#2593 ·
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 88/100
githubnext/rig#535 ·
-
agent-in-progress agent-research-recommend enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
codymikol/multiverse.nvim#337 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
WLAN-Pi/wlanpi-profiler#307 ·
Maintainers usually reply within 1 day