vscode-systemverilog-support icon indicating copy to clipboard operation
vscode-systemverilog-support copied to clipboard

Missing Highlight Systemverilog Functions

Open pnmorais opened this issue 8 years ago • 3 comments

Hi,

I started used your extension for systemverilog code and for what I could observed some functions on systemverilog are not highlight. I hope you can add these functions to your highlight list. The systemverilog functions are:

-> "class", endclass is highlight but class not; -> Missing the defines function as "define", "ifdef", "else", "endif", "undef", "ifndef"; -> "length";

For now was what I could observed. Another suggestion is you could put the brackets("(",")","{","}") highlight too.

Thanks, Pedro Morais.

pnmorais avatar Jul 03 '17 10:07 pnmorais

Can you show me some example code? I'll fix it if possible.

mshr-h avatar Jul 09 '17 13:07 mshr-h

There seem to be several issues in here and from what I can tell the second item is an issue that `define is not properly labeled by the tmLanguage. I believe it should be meta.preprocessor or a derived scope.

image

As for the other issues, I agree good examples would help understanding.

As a side note i just learned if you need to use a back tick in a code section the proper way to do it is to wrap the quoted code is more back ticks for example `` `define``

bjaminn avatar Jul 09 '17 16:07 bjaminn

Hi mshr-h,

Here are some examples of what I'm trying to say: image

I putted another code editor to you see the difference.

Thanks for your help.

pnmorais avatar Jul 10 '17 11:07 pnmorais