bitwisecook / vscode-tcl

Tcl for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=bitwisecook.tcl
MIT License
39 stars 19 forks source link

Broking highlighting after semicolon (;) appear in some regexp switches (basically inside {} ) #29

Open Nick-KV opened 9 months ago

Nick-KV commented 9 months ago

I need to filter some lines from the file with comments in the end or without and get broking highlight for syntax: image

for regular statement it's just broking to the end of the line, which is unpleasant, but acceptable in some manner (see if statement or single standing regexp) In case such notation ( {;} ) appear in procedure - it is broking all till the end of the file (last proc is just orange)

Per my understanding VSCode somehow should distinguish semicolon inside expressions or this is the end of the line and next could be hashtag with comments.