Skip to content

Experimental incremental DOM parser#1767

Draft
angelozerr wants to merge 2 commits intoeclipse-lemminx:mainfrom
angelozerr:incremental_parser
Draft

Experimental incremental DOM parser#1767
angelozerr wants to merge 2 commits intoeclipse-lemminx:mainfrom
angelozerr:incremental_parser

Conversation

@angelozerr
Copy link
Contributor

@angelozerr angelozerr commented Feb 4, 2026

Experimental incremental DOM parser

To test this PR, you need to add in your settings.json

"xml.incrementalParser.enabled": true

When you change this settings you will need to close the xml file.

You can generate tests when you are typing in the xml editor:

"xml.incrementalParser.generateTestWhen": "error",

  • always : generate test every time
  • error : generate a test when DOM incremental != DOM full parsed

Those tests are generated in the src/test/java/org/eclipse/lemminx/dom/generated folder of the project opened by vscode

Signed-off-by: azerr <azerr@redhat.com>
@angelozerr angelozerr force-pushed the incremental_parser branch 3 times, most recently from 861a518 to 402d24a Compare February 4, 2026 22:34
@angelozerr angelozerr force-pushed the incremental_parser branch 18 times, most recently from 0f3cc68 to 64dc900 Compare February 19, 2026 12:34
Signed-off-by: azerr <azerr@redhat.com>
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.

1 participant