TerosTechnology / vscode-terosHDL

VHDL and Verilog/SV IDE: state machine viewer, linter, documentation, snippets... and more!
https://terostechnology.github.io/terosHDLdoc/
GNU General Public License v3.0
562 stars 45 forks source link

Color problem of code block #280

Closed zjulijinxin closed 2 years ago

zjulijinxin commented 2 years ago

When I activate the plug-in, the "begin end" code block changes from multiple colors to only one color 图片 图片

qarlosalberto commented 2 years ago

Can you share the complete code in text?

zjulijinxin commented 2 years ago

Let me show a simple example, the following code:

`module test ( input clk , input rst , output led
);

always @(posedge clk) begin if (rst) begin led <= 0; end else begin led <= 1; end end

endmodule`

When I activate the plug-in(TerosHDL),the "begin end" code block changes from multiple colors to only one color 图片 图片

I think it's due to the conflict between the two plug-ins:TerosHDL and Verilog-HDL/SystemVerilog/Bluespec SystemVerilog

qarlosalberto commented 2 years ago

Yes, it seems a conflict with Verilog-HDL/SystemVerilog/Bluespec SystemVerilog. To check it, can you deactivate Verilog-HDL/SystemVerilog/Bluespec SystemVerilog ?

qarlosalberto commented 2 years ago

And other thing, what extension do you use for the "begin" colors?

zjulijinxin commented 2 years ago

After I deactivate this extension(Verilog-HDL/SystemVerilog/Bluespec SystemVerilog), the code block has no different color: 图片 I use the extension"Verilog HDL / SystemVerilog / bluespec SystemVerilog" to color code blocks.

Plus,I think the coloring function of the extension"Verilog HDL / SystemVerilog / bluespec SystemVerilog" is not easy to use. It would be great if you could develop similar coloring functions.

qarlosalberto commented 2 years ago

It will be fix in the next version.