vscode-blockman
vscode-blockman copied to clipboard
Bug: commented RegExp throws invalid syntax error
How to reproduce the issue?
the file:
'use strict'
class A {
m() {
// /<a < """>/
}
}
the error:
Error: invalid syntax at line 5 col 16:
// /<a < """>/
^
Screenshots or Screencast

It's because of the tag tokenizer, the HTML/XML tokenizer thinks that <a is HTML/XML tag, and somehow does not like it. I'll try fix it, but before that, you can do a temporary solution, just disable tag analyzation. Go to Blockman settings and uncheck N25 Analyze Tags.