You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
organize imports causes communication issues with the language server #806
I have the Rest Service example running, added actuators, see live hovers in the editor. While seeing that, I add a new private field, add a value annotation, running content-assist in the value parameter, all that works fine.
Then, I delete the code around the new private field and an unused import warning shows up. Everything seems to be fine up to here. Then I do an "organize imports" and after that, the green hovers seem to be totally off and a never-ending background job appears Language Server Background Job.
I can cleanup the situation in the editor again when typing into the editor (after the next keystroke, the green liver hover highlights are perfectly fine again), but the background job is still sitting around.
I think we need to investigate and fix both issues here.
Might be related to the Rewrite integration... parsing and then reconciling. However, not sure if perform any of the Rewrite recipes or parsing in a job except for applying recipes to projects... I'll probably have a look at this
The issue with the annoying Language Server Background Job is indeed fixed, but the green live hover highlights are still broken right after the "organize imports" action, therefore re-opening this issue.
Activity
BoykoAlex commentedon Aug 3, 2022
Might be related to the Rewrite integration... parsing and then reconciling. However, not sure if perform any of the Rewrite recipes or parsing in a job except for applying recipes to projects... I'll probably have a look at this
BoykoAlex commentedon Aug 6, 2022
Background job seems like some non-terminated progress... i.e. exception thrown but finally block missing progress done... something around this
BoykoAlex commentedon Aug 9, 2022
This should fix the annoying background job: 1f48222
martinlippert commentedon Aug 9, 2022
The issue with the annoying
Language Server Background Jobis indeed fixed, but the green live hover highlights are still broken right after the "organize imports" action, therefore re-opening this issue.BoykoAlex commentedon Aug 9, 2022
Ouch... yes indeed the issue is about the garbled live hovers as well. This part will be probably more difficult to address :-\
GH-806: cancel source parsing future in case of new changes coming in…
martinlippert commentedon Aug 31, 2022
I think this is fixed now. Closing.