I wish to add support to systemverilog but I'm not sure how.
I did a bit of experimenting to see if I can make a new ribbon button that would point to a new .lang file (sv.lang) but this failed.
As long as tag="java" this new button is able to provide syntax highlighting (according to java rules).
If this would have worked I could go on to editing sv.lang to match systemverilog syntax.
An I missing something in the above step?
Edit:
I also tried to edit the "java.lang" file and add "endclass" keyword (it's a systemverilog keyword) there to see if it gets highlighted, and it doesn't, so, I must be missing something huge 😅
Hi,
I wish to add support to systemverilog but I'm not sure how. I did a bit of experimenting to see if I can make a new ribbon button that would point to a new .lang file (sv.lang) but this failed.
As long as tag="java" this new button is able to provide syntax highlighting (according to java rules).
<button id="sv" label="sv" size="large" screentip="Enter svCode" onAction="AddInButtonClicked" tag="java" image="Other.png" visible="true"/>
The next step, which failed, was to copy "java.lang" to "sv.lang", and add this entry to the ribbon.xml:
<button id="sv" label="sv" size="large" screentip="Enter sv Code" onAction="AddInButtonClicked" tag="sv" image="Other.png" visible="true"/>
If this would have worked I could go on to editing sv.lang to match systemverilog syntax. An I missing something in the above step?
Edit: I also tried to edit the "java.lang" file and add "endclass" keyword (it's a systemverilog keyword) there to see if it gets highlighted, and it doesn't, so, I must be missing something huge 😅
Thanks,