eclipse-lsp4e / eclipse-lsp4e/lsp4e
Would it be possible to have previews of quickfixes in Eclipse?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 85
- Forks
- 69
- Avg merge
- 8h 33m
- Merged PRs (30d)
- 6
Description
Would it maybe be possible to have previews of quickfixes & refactorings in LSP4e using Eclipse frameworks? VSCode, for example allows this by using CMD+ENTER on a code action.
In Eclipse, I could imagine that https://www.eclipse.org/articles/Article-LTK/ltk.html or the built-in diff viewer could be used - asking the LS to execute the code action and then diff the current file content against the returned text edit.
WDYT?
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 by reading the Eclipse LTK article linked in the issue and reviewing the built-in diff viewer. Then trace how LSP4e currently executes code actions and how returned text edits could be compared with the current file content. Done means users can preview quickfixes and refactorings before applying them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100