vscode-verilog-hdl-support icon indicating copy to clipboard operation
vscode-verilog-hdl-support copied to clipboard

[BUG] the highlighter does not disable or highlight the codes with `ifdef

Open myjtag opened this issue 2 years ago • 1 comments

Hi, for example since we have not defined master ,it should make it gray or disabled color for this code inside the ifdef Master endif part. But for now adding or removing these `ifdef line of code does nothing!

ifdef Master LanTxFIFO myLanTxFIFO ( .rst(Vio[0]), // input rst .wr_clk(w_CLK96MHz), // input wr_clk .rd_clk(w_CLK96MHz), // input rd_clk .din(wFIFODin), // input [15 : 0] din .wr_en(wFIFOWe), // input wr_en .rd_en(wTX_EN), // input rd_en .dout(wLanTxData), // output [15 : 0] dout .full(wFull), // output full .empty(wEmpty), // output empty .prog_full(wProgFull), // output prog_full .prog_empty(wProgEmpty) // output prog_empty ); endif

myjtag avatar Sep 25 '21 14:09 myjtag

I am having the same issue. This package doesn't highlight `ifdef keyword.

TuckZischka avatar Jul 07 '22 15:07 TuckZischka