You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found a couple of syntax highlighting corner cases.
Declaring a class variable (maybe with parameters) causes the next control statement to highlight incorrectly (in this case the "function" on line 5 and "if" on line 18)
When instantiating a module, adding a comment after the parameter list causes the instance name to highlight incorrectly (line 46).
Line 56, Packet should be Green (entity.name.type), displayed as Light Blue (variable).
scope not highlighted correctly on 284. Commenting out line 279 resolves the issue, similarly removing the space between "Packet" and "#" resolves the issue, but causes Packet to not be highlighted correctly.
The text was updated successfully, but these errors were encountered:
@sconwayaus I am able to reproduce (and solve) issues 1, 3, and 4. But my test case for issue 2 dies not fail when I add a comment on any line. Can you re-confirm issue 3?
For issue 1 and 3. The syntax highlighting was actually wrong. The symbol should have been identified as storage.type.user-defined.systemverilog which is a dark blue color like this:
I kind of like the green, but the blue is technically correct. Do you have any concerns with it being blue moving forward?
Hello,
Found a couple of syntax highlighting corner cases.
Declaring a class variable (maybe with parameters) causes the next control statement to highlight incorrectly (in this case the "function" on line 5 and "if" on line 18)
When instantiating a module, adding a comment after the parameter list causes the instance name to highlight incorrectly (line 46).
Line 56, Packet should be Green (entity.name.type), displayed as Light Blue (variable).
scope not highlighted correctly on 284. Commenting out line 279 resolves the issue, similarly removing the space between "Packet" and "#" resolves the issue, but causes Packet to not be highlighted correctly.
The text was updated successfully, but these errors were encountered: