ZScript-VSCode icon indicating copy to clipboard operation
ZScript-VSCode copied to clipboard

`States` and `Default` blocks broken detection

Open KaptainMicila opened this issue 5 years ago • 1 comments

Both States and Default blocks are detected by searching for the States and Default words in the text. My plan was to make it that it searched for the two words AND the open curly bracket {, but it seems that VSCode's highlighter does not allow for multiline regexes. If somebody has a clue how to fix this, I would be really happy about it.

KaptainMicila avatar Nov 10 '20 08:11 KaptainMicila

The solution I found works, but it's indetation has to be "only one tab". Of course, I don't like that.

KaptainMicila avatar Nov 10 '20 08:11 KaptainMicila