Skip to content

Enable configurable dismissal of language server notifications that do not require user interaction#46708

Merged
SomeoneToIgnore merged 3 commits intozed-industries:mainfrom
tomatitito:issue-38769-globally-dismiss-ls-notifications
Jan 22, 2026
Merged

Enable configurable dismissal of language server notifications that do not require user interaction#46708
SomeoneToIgnore merged 3 commits intozed-industries:mainfrom
tomatitito:issue-38769-globally-dismiss-ls-notifications

Conversation

@tomatitito
Copy link
Contributor

@tomatitito tomatitito commented Jan 13, 2026

Closes #38769

Release Notes:

  • Dismiss server notifications automatically with "global_lsp_settings": { "notifications": { "dismiss_timeout_ms": 5000 } } settings defaults.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 13, 2026
@SomeoneToIgnore SomeoneToIgnore self-assigned this Jan 13, 2026
@tomatitito tomatitito force-pushed the issue-38769-globally-dismiss-ls-notifications branch from 6c2ac49 to 2cf1a54 Compare January 13, 2026 19:52
@tomatitito tomatitito force-pushed the issue-38769-globally-dismiss-ls-notifications branch from c67401a to 80f793f Compare January 21, 2026 16:53
Copy link
Contributor

@SomeoneToIgnore SomeoneToIgnore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I will push the documentation changes in the few hours, thank you for your persistence and work.

.dismiss_timeout_ms;

if is_prompt_without_actions {
if let Some(dismiss_duration_ms) = dismiss_timeout_ms.filter(|&ms| ms > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition.

Not sure we need to do anything now, but noticing that with this approach, we're not getting any settings change propagated to existing notifications.
Some transitions in settings (from "no timeouts" to "some quick timeout" and, presumably, back) may be confusing for users — let's see what the feedback comes.

@SomeoneToIgnore SomeoneToIgnore force-pushed the issue-38769-globally-dismiss-ls-notifications branch from dde05e3 to 2798ec4 Compare January 22, 2026 15:01
@SomeoneToIgnore SomeoneToIgnore enabled auto-merge (squash) January 22, 2026 15:01
@SomeoneToIgnore SomeoneToIgnore merged commit 4bc3b71 into zed-industries:main Jan 22, 2026
27 checks passed
zcg pushed a commit to zcg/zedpro that referenced this pull request Jan 29, 2026
…o not require user interaction (zed-industries#46708)

Closes zed-industries#38769

Release Notes:

- Dismiss server notifications automatically with
`"global_lsp_settings": { "notifications": { "dismiss_timeout_ms": 5000
} }` settings defaults.

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LS Server warning popup can not be silenced / does not dismis when stale

2 participants