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

making the diagnostics computation async #116 #169

Merged
merged 3 commits into from
Nov 7, 2018

Conversation

lhein
Copy link
Collaborator

@lhein lhein commented Oct 30, 2018

Signed-off-by: Lars Heinemann lhein.smx@gmail.com

Signed-off-by: Lars Heinemann <lhein.smx@gmail.com>
Signed-off-by: Lars Heinemann <lhein.smx@gmail.com>
@lhein lhein requested a review from apupier October 30, 2018 12:05
Copy link
Member

@apupier apupier left a comment

Choose a reason for hiding this comment

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

apart from that it is nice to have not block the Save for diagnostic computation!

loop (camel-tooling#116)

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
@apupier
Copy link
Member

apupier commented Nov 7, 2018

@lhein any reasons preventing the merge of this PR?

@lhein
Copy link
Collaborator Author

lhein commented Nov 7, 2018

yeah, I have still not tested with big to huge camel files.

@lhein
Copy link
Collaborator Author

lhein commented Nov 7, 2018

tested now with a ~1250 lines camel context file and diagnostics takes a little more than a second. So I guess we are safe to also enable it for each text edit and not only on save time. @apupier

@apupier
Copy link
Member

apupier commented Nov 7, 2018

I think it can trigger too many computations in some cases. Anyway, we can try and still revert if user complains.
Please create the followup issue about having something smarter which is cancelling potentially already running validation.

@lhein
Copy link
Collaborator Author

lhein commented Nov 7, 2018

created #173

@lhein lhein merged commit 6978b8b into camel-tooling:master Nov 7, 2018
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