redhat-developer / redhat-developer/lsp4ij

Persisted flag for auto-install "Dismiss" link is too coarse-grained

Open
#1,173 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement user-defined LS
Dominant language
Java
Stars
344
Forks
113
Avg merge
5h 22m
Merged PRs (30d)
15

Description

If the user ever clicks the Dismiss link in the auto-install banner, it's disabled app-wide using PropertiesComponent. That means if the user only wants to disable automatic installation of one specific language server, the prompt will never be displayed again, and the only way to restore it is to reset IDE settings which is destructive to the user's other IDE customizations.

It seems like that state should be stored for each project/language server (or perhaps project/file extension) combination, or minimally there should be some simple way to re-enable the prompt once dismissed/disabled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the auto-install banner's Dismiss handling and trace how it stores state through PropertiesComponent. Determine the existing scope of that persisted flag and review how language-server or project context is available there. Done means dismissal no longer suppresses unrelated prompts and users have a non-destructive way to restore the prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.