redhat-developer / redhat-developer/lsp4ij
Persisted flag for auto-install "Dismiss" link is too coarse-grained
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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