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

[Bug]: xml comment uncompleted #263

Closed
3 tasks done
JuniverseCoder opened this issue Aug 28, 2022 · 1 comment
Closed
3 tasks done

[Bug]: xml comment uncompleted #263

JuniverseCoder opened this issue Aug 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@JuniverseCoder
Copy link

JuniverseCoder commented Aug 28, 2022

Describe the bug

when use xml language, if the comment is uncompleted, the application stuck.

To reproduce

  1. language: xml
  2. code:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- comment1 -->
<!-- comment2 -->
</settings>
  1. delete the arrow in comment1
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- comment1 --
<!-- comment2 -->
</settings>
  1. cant type anything
  2. See error

Version

3.4.0

OS

Windows 10

Validations

@antonreshetov antonreshetov added bug Something isn't working and removed pending triage labels Aug 29, 2022
@antonreshetov
Copy link
Member

Closed because it was in #268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants