massCode
massCode copied to clipboard
[Bug]: xml comment uncompleted
Describe the bug
when use xml language, if the comment is uncompleted, the application stuck.
To reproduce
- language: xml
- 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>
- 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>
- cant type anything
- See error
Version
3.4.0
OS
Windows 10
Validations
- [X] Follow our Code of Conduct
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Closed because it was in #268