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

GLSP-1408: Make live validation asynchronous #247

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Conversation

martin-fleck-at
Copy link
Contributor

What it does

  • Introduce asynchronous live validation behavior
  • Send status message

eclipse-glsp/glsp#1408

How to test

  • Any workflow example
  • Add breakpoint to the validation so that it takes longer and you can see the message
  • See that while breakpoint is active you can perform other operations

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

@martin-fleck-at
Copy link
Contributor Author

Note that I opted for the status message as it is less intrusive as the progress message. However, there can only ever be a single status message at a time so it might not be the right choice in all cases. I'm happy to discuss this.

@ivy-lli FYI as well

Copy link
Contributor

@ivy-lli ivy-lli left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍 Thanks a lot

@martin-fleck-at
Copy link
Contributor Author

@tortmayr I'll merge this for now and if you do not have any objections, I'll double check the Node server to behave the same.

@martin-fleck-at martin-fleck-at merged commit 818ba4d into master Oct 18, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants