Skip to content

fix: highlight method names containing periods in the server log - #3062

Merged
rwols merged 1 commit into
mainfrom
fix/log-method-names
Oct 10, 2026
Merged

rwols merged 1 commit into
mainfrom
fix/log-method-names

Conversation

@rchl

@rchl rchl commented Oct 10, 2026

Copy link
Copy Markdown
Member

The method pattern in the server log syntax only allowed alphanumerics, /, $ and #, so method names containing a period, like clangd's textDocument/clangd.fileStatus, were only highlighted up to the period (textDocument/clangd). Requests with such names were not highlighted at all since the pattern for requests expects the (id) part to follow the method name directly.

Also allow _ and -, which are used in custom method names (e.g. rust-analyzer/analyzerStatus).

Assisted-By: Claude Code:claude-opus-5-5

Method names like "textDocument/clangd.fileStatus" were only highlighted up
to the period, and requests with such names were not highlighted at all.
Also allow "_" and "-" which are used in custom method names.

Assisted-By: Claude Code:claude-opus-5-5
@rwols
rwols merged commit 9858263 into main Oct 10, 2026
8 of 9 checks passed
@rwols
rwols deleted the fix/log-method-names branch October 10, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants