Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#435 Fix Navigation from marker to affected element is no longer working #47

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

ivy-lli
Copy link
Contributor

@ivy-lli ivy-lli commented Feb 17, 2022

closes eclipse-glsp/glsp#435

As already mentioned in the issue, this PR fixes the:

  • ModelInitializationConstraint so it waits for a SetModelAction instead of a UpdateModelAction to be marked as initialized
  • Move the editor.setInjector method from the constructor to it's own method, to ensure that the IdeActionDispatcher is fully initialized by the DI before waiting CompletableFuture's are resumed

Copy link
Contributor

@tortmayr tortmayr left a comment

Choose a reason for hiding this comment

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

@ivy-lli Thank you for this fix! Works like a charm and is really clean and simple!
Correct me if I'm wrong but it looks like this PR also addresses eclipse-glsp/glsp#527 .

@ivy-lli
Copy link
Contributor Author

ivy-lli commented Feb 17, 2022

Hi @tortmayr
Yes sounds exactly like the solved problem! This should also be fix with this PR 🙂

@tortmayr tortmayr merged commit ad79fbc into eclipse-glsp:master Feb 17, 2022
@ivy-lli ivy-lli deleted the issue/435 branch March 17, 2022 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation from marker to affected element is no longer working
2 participants