You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 😅
Thanks,
The text was updated successfully, but these errors were encountered:
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,
The text was updated successfully, but these errors were encountered: