Open idlesilver opened 3 years ago
Cannot reproduce the bug. It's correctly working on my PC.
This bug only appears when using the HIGHTLIGHT EXTENSION: Bracket Pair Colorizer 2 This extension allows matching brackets to be identified with colours. All other keywords matches each other except "case/endcase".
This is because "endcase" is common end bracket for "case", "casez", and "casex" in Verilog and Systemverilog. Since "cases" and "cases" are rarely used, you can just remove them in "{EXTENSION_ROOT}/MSHR-H.VERILOGHDL-x.x.x/verilog.configuration.json" to fix this problem.
Describe the bug The keyword "case" and "endcase" do not match with each other in highlighting brackets. (Only the "case", other keywords like module, bracket, begin/end can be highlighted normally)
Environment (please complete the following information):
Steps to reproduce Steps to reproduce the behavior: copy code
See error
Expected behavior Seen "case" and "endcase" as an pair of brackets when highlighting.
Actual behavior "case" can be seen as bracket, but not "endcase"