-
Notifications
You must be signed in to change notification settings - Fork 93
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
ICompletionParticipant#onXMLContent is not called for CDATA #1699
Conversation
See eclipse-lemminx#1694 Signed-off-by: Christoph Läubrich <[email protected]>
Fix eclipse-lemminx#1694 Signed-off-by: Christoph Läubrich <[email protected]>
64f111b
to
da9134d
Compare
@angelozerr can you review this? This fixes the testcase for me, without my change testcase fails, with my change test-case succeeds. |
The code looks good, but CI build fails https://github.com/eclipse-lemminx/lemminx/actions/runs/11721131221/job/32647917208?pr=1699#step:4:681 |
I wonder if request should have a flag like isInCDATA, because when apply completion is done, it must not remove the CDATA. Perhaps we don't need it, but I think your test class should have some tests with apply completion with CDATA and without CDATA). |
Any hint how to best test that case? |
I looked at the failing test and I'm not sure if this needs to be adjusted, what seem to happen is that now a completion (to close the |
Signed-off-by: Christoph Läubrich <[email protected]>
Now it works for windows but fails for mac/linux...?!? |
We have some tests which uses Timeout and perhaps they failed, I have restarted the CI build and it is working perfectly. |
Ok let's merge the PR and when you will implement the feature with lemminx-maven we will see if there are some trouble. Thanks @laeubi ! |
Fixes #1694 |
See