You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LSP - Java - eclipse-jdt-ls won't appear in the right hand side of the CLI TUI when enabled #4703
After setting up the jdtls LSP for Java, and after checking that the LSP process is started by opencode, it won't appear as an active LSP in the right hand side of the CLI TUI.
If prompted, the LLM will return LSP diagnostics, so it is running.
For other LSPs, such as pyright, or typescript LSPs, they appear fine in the right hand side of the TUI.
Is it possible to get the jdtls LSP to appear as active?
This issue might be a duplicate of existing issues. Please check:
Indicator if an LSP is 'on' for a language? #2121: Indicator if an LSP is 'on' for a language? - This closed issue discusses the lack of a visible indicator to verify if an LSP is running and active for a particular language, which appears to be the same root concern you're reporting for jdtls.
Feel free to ignore if this doesn't address your specific case.
➜ skytech git:(dev) opencode --print-logs --log-level DEBUG debug lsp diagnostics ./skytech-app/src/main/java/com/skytech/SampleApplication.java
I'm using this command everything works well。
but when use opencode ,mcp server do not work.
Activity
github-actions commentedon Nov 24, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if this doesn't address your specific case.
rekram1-node commentedon Nov 24, 2025
It appears in the sidebar once it touches a file, can u show me your opencode.json
dehidehidehi commentedon Nov 25, 2025
Thank you for the very quick answer.
Certainly, here is the opencode.json
{ "$schema": "https://opencode.ai/config.json", "share": "disabled", "theme": "palenight", "autoupdate": false, "plugin": [ "@tarquinen/opencode-dcp@0.3.5" ], "formatter": false, "experimental": { "batch_tool": true, "disable_paste_summary": false }, "tools": { "task": false, "codesearch": true }, "instructions": [ "AGENTS.md", "~/.config/opencode/context/global/global-context.md", "~/.config/opencode/context/global/session-context.md" ], "permission": { "*": "allow", "bash": { "git *": "deny", "git blame*": "allow", "git clone*": "allow", "git diff*": "allow", "git log*": "allow", "git ls-files*": "allow", "git show*": "allow", "git status*": "allow" } }, "lsp": { "jdtls": { "command": ["eclipse-jdt-ls", "--stdio"], "extensions": [".java"] }, "basedpyright": { "command": ["basedpyright-langserver", "-p", "~/.config/.basedpyright-global.json", "--stdio"], "extensions": [".py"] }, "pyright": { "disabled": true, "command": ["pyright", "-p", "~/.pyrightconfig-global.json --stdio"] }, "vtsls": { "command": ["vtsls", "--stdio"], "extensions": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".mts", ".cts"] }, "typescript": { "command": ["typescript-language-server", "--stdio"], "disabled": true } }, "keybinds": { "leader": "ctrl+x", "app_exit": "ctrl+c,<leader>q", "editor_open": "<leader>e", "theme_list": "<leader>t", "session_export": "<leader>x", "session_new": "<leader>n", "session_list": "<leader>l", "session_share": "<leader>s", "session_unshare": "none", "session_interrupt": "esc", "session_compact": "<leader>c", "session_child_cycle": "ctrl+p", "session_child_cycle_reverse": "ctrl+n", "messages_page_up": "ctrl+k", "messages_page_down": "ctrl+j", "messages_half_page_up": "ctrl+u", "messages_half_page_down": "ctrl+d", "messages_first": "ctrl+g", "messages_last": "ctrl+shift+g", "messages_copy": "<leader>y", "messages_undo": "<leader>u", "messages_redo": "<leader>r", "model_list": "<leader>m", "model_cycle_recent": "<leader>tab", "model_cycle_recent_reverse": "<leader>shift+tab", "agent_list": "<leader>a", "agent_cycle": "tab", "agent_cycle_reverse": "shift+tab", "input_clear": "ctrl+c", "input_paste": "ctrl+v", "input_submit": "enter", "input_newline": "shift+enter" } }And the eclipse-jdt-ls script which is on my $PATH is
I've enabled logging at DEBUG level and can confirm the LSP does start:
Another example:
dehidehidehi commentedon Nov 25, 2025
On occasion I do see start-up timeouts from the Java LSP; it is true that the start time is longer than other LSPs in general:
rekram1-node commentedon Nov 26, 2025
Hmm interesting, im surprised it wont appear in the sidebar...
sincebyte commentedon Jan 14, 2026
➜ skytech git:(dev) opencode --print-logs --log-level DEBUG debug lsp diagnostics ./skytech-app/src/main/java/com/skytech/SampleApplication.java
I'm using this command everything works well。
but when use opencode ,mcp server do not work.
rekram1-node commentedon Jan 14, 2026
im not following how are mcp servers relevant here
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.