Closed AndrzejKowalski9917 closed 1 year ago
Nevermind. This behavior was produced by the Verilog extension, which I also had installed. It also adds VHDL as a language to VSCode and probably does not know about this language construct. Deactivating it, fixed this issue for me.
If a case-generate statement is used, the synthax highlighting afterwards in the file is slightly broken. If an if-else-generate statement is used, the synthax highlighting works as expected.
gen_sel_2
is not highlightedgenerate
in the finalend generate
statement is written in italic (Theme Github Dark Dimmed - on other themes it is marked in a different color).Interestingly the same error happens with syntax highlighting on github.
The example code to reproduce: