Repository navigation
Description
A follow-up of #1870, collected in #1943.
Status: most of suggestion A is done in #2000 (0.30.2), the server info tooltip in #1996 (0.30.0). What is still open is listed below under Still open after #2000.
Summary
The LSP Consoles tree shows little about the connection:
- the server node (
LanguageServerTreeNode) only has its icon and name, so a collapsed node doesn't say whether the server runs; - the process node (
LanguageServerProcessTreeNode.getDisplayName) showsstarted pid:…, orcrashed [3/20], all in plain text; - with the socket transport from feat: reach a language server over a socket (experimental) #1870, an attached server has no pid, so its node only says
started; the host and port are only inSocketStreamConnectionProvider.toString(), so they only show in logs.
How the Services tool window does it
IntelliJ's Services tool window shows the same kind of thing (screenshots from IntelliJ IDEA 2026.3 RC; see also the IntelliJ IDEA help on the Services tool window and Docker containers):
-
IntelliJ's own MCP server lists each connected client, e.g.
claude-code (HTTP Stream) 2.1.317: the name, the transport in parentheses, and the version in grey; on the right a Session tab with the client, version, transport and duration, and a Tool Calls tab. That's close to what a language server connection could show, and the grey version fits Display server info when hovering over server node in LSP consoles view #386: -
a Docker container sits in a tree Docker → Containers → container and shows its state in the icon, a green dot when it runs and an empty square when it's stopped, without a status text; after its name, it can show the run configuration that started it; stopped containers can be hidden with the view options. Its ports aren't in the tree, but in a Dashboard tab on the right, with a header (name, short id, Restart, Stop) above its environment variables, ports and volumes:
-
a Spring Boot app shows as
PetClinicDemoApplication [devtools] :8080/: the name in bold, extra information in grey, and the port as a link:
Suggestion A, a small change: state and connection in the tree
Only how the two tree nodes are drawn changes, plus a small method on StreamConnectionProvider; the LSP Consoles stay where and how they are.
▾ ✓ Demo LSP (attach) started · 127.0.0.1:6010
✓ started attach to 127.0.0.1:6010
▾ ✓ CSS Language Server started · port 52114
✓ started pid:4711 socket, it connects to port 52114
▾ ✓ TypeScript Language Server started
✓ started pid:4712 stdio
▸ ⊘ ABC disabled after 21 attempts
The same as a mockup (not a screenshot; dashed orange marks what's new):
And without the markings, as it would look:
server node: the process' state, so it shows while collapsed, either as an overlay on the icon as Docker does, or as a grey suffix ((done in feat: improve language server console tree information #2000, as a grey suffix such asappend(…, SimpleTextAttributes.GRAYED_ATTRIBUTES)); text only for errors and "disabled";[started]or[1/2 started])process node: the transport in grey, with the host and the port actually used (with Auto, the one LSP4IJ chose,(done in feat: improve language server console tree information #2000, e.g.boundPort), e.g.:6010as Spring Boot shows it;[connect to 127.0.0.1:6010])- a disabled server: why, and an action to enable and start it again (see Socket transport: "Connection refused" without host and port, and fast restarts #1944 about the restarts and disabling); still open, see below;
a tooltip on the process node with the full command, host and port, start time and last error.(done in feat: improve language server console tree information #2000, except the start time, see below)
This goes well with #386 (done in #1996), which shows the server's serverInfo (name and version) as a tooltip on the server node; there, a label like Zig: zls/0.13.0 was found too long, so the suffix here would only carry the state and the connection, not the version.
A small method on (done in #2000 as StreamConnectionProvider, such as getConnectionDescription(), returning null for stdio and e.g. "attach to 127.0.0.1:6010" for a socket, would give the tree that text without parsing toString().StreamConnectionProvider.getConnectionDescription())
Still open after #2000
- a disabled server shows why it was disabled, e.g.
disabled after 20 failed starts; today the tree shows only[disabled], and the tooltip only "Server is disabled" - an action on a disabled server in the tree to enable and start it again; fix: connect to ::1 too without a host, and say when failed starts disable a language server #1977 offers Enable and Start only in the notification (see Socket transport: "Connection refused" without host and port, and fast restarts #1944)
- the start time in the tooltip of a process node
Suggestion B, a bigger change: the language servers in the Services tool window
Docker isn't a tool window of its own, but contributes to the Services tool window (com.intellij.serviceViewContributor), as run configurations and databases do. The language servers could show there too:
- on the left the tree, server → process; on the right today's tabs (Traces, Logs, Debug, …), plus a dashboard with the transport, host and port, pid, and Restart and Stop;
- start, stop and restart as actions on the nodes, as for containers;
- everything that runs in one place.
As a mockup (not a screenshot), next to Spring Boot, Docker and an MCP session as they are today:
That's a lot of rework, and users would find the LSP Consoles somewhere else, so I'm only asking whether it's a direction you'd like.
How this was checked
Claude Code only read the code of the tree at b4b23c2; nothing of this is built or tried. The screenshots are from IntelliJ IDEA 2026.3 RC; the Spring Boot details ([devtools], the port) need IntelliJ IDEA Ultimate, without it the node only shows the name.
Would A be welcome?


![The Services tool window with a running Spring Boot app shown as "PetClinicDemoApplication [devtools] :8080/", next to Docker and the MCP sessions](https://private-user-images.githubusercontent.com/184316/702479749-09e24b30-aa67-457c-af63-39795a8a4187.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTYxNDg5NDMsIm5iZiI6MTc5NjE0ODY0MywicGF0aCI6Ii8xODQzMTYvNzAyNDc5NzQ5LTA5ZTI0YjMwLWFhNjctNDU3Yy1hZjYzLTM5Nzk1YThhNDE4Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMjAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTIwMVQxODEwNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMmFhN2Q4ODdmYTY0Y2MzOWFhZDNjMzViMWE1ZTYwZTk4MjYzNTdkNmMzNmRkZjcxMWI1Yzg5MzY5YmQ0YjA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.jq8XLrAwzZ7p_z8F_NRrNSHvUwM_ZpIIRsaQ4g4Ka1M)



Activity
lagergren commentedon Nov 17, 2026
A first step is in 0.30.0: #1996 (for #386) shows the name and version that a language server reports as a tooltip when you hover over its node. The rest of this issue, the state in the icon and the transport, host and port of a connection, is for 0.31.0.
muescha commentedon Nov 19, 2026
Showing in the tree when a server without files will stop, e.g.
idle, stops at 20:15, is in #2025, from the discussion in #1809.feat: improve language server console tree information (#2000)
lagergren commentedon Nov 20, 2026
#2000, by @sohamsakhare76-ai, is in 0.30.2. It does most of suggestion A:
[started],[1/2 started],[crashed],[disabled]), and its tooltip shows the status, the instances, the name and version that the server reports, and the last error;[stdio],[connect to 127.0.0.1:6010],[accept on port 52114]), and its tooltip shows the connection, the pid, the command and the last error;StreamConnectionProvider.getConnectionDescription()gives that text; a provider of a plugin can return its own, and nothing is shown when it returnsnull.Two parts of suggestion A are still to do, so this issue stays open for them: