Skip to content
New issue

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

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

Already on GitHub? # to your account

Add incremental parsing support #25

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

ehedbor
Copy link
Contributor

@ehedbor ehedbor commented May 22, 2024

No description provided.

@ehedbor
Copy link
Contributor Author

ehedbor commented May 23, 2024

image

For some reason it looks like GitHub doesn't understand that this branch is based off the prettier branch and is claiming that we're changing all of the files from the previous pull request (#23) as well.

Edit: this was fixed

@PaddiM8 PaddiM8 force-pushed the incremental-parsing branch 2 times, most recently from 7f32dbe to 7d8b395 Compare May 29, 2024 09:11
@ehedbor ehedbor marked this pull request as ready for review May 29, 2024 09:14
@ehedbor
Copy link
Contributor Author

ehedbor commented May 29, 2024

@AnHeuermann this PR is ready for review now 👍

@AnHeuermann AnHeuermann self-requested a review May 29, 2024 12:18
@AnHeuermann AnHeuermann linked an issue May 29, 2024 that may be closed by this pull request
}
);

assert.equal(document.getText().trim(), UPDATED_TEST_PACKAGE_CONTENT.trim());
Copy link
Member

Choose a reason for hiding this comment

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

Add an additional assert to test that the tree indeed is updated. In this case it's hard to tell, so maybe do an update that does change the tree. Maybe adding another annotation or model or so.

Otherwise we aren't sure that the tree was updated.

Copy link
Member

Choose a reason for hiding this comment

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

Ups, wrong button. I wanted to request changes on my review^^. Please check if you can update the test.

Copy link
Contributor

Choose a reason for hiding this comment

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

Like this?

@AnHeuermann AnHeuermann merged commit 7b3e890 into OpenModelica:main Jun 3, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incremental parsing
3 participants