Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to support systemverilog #186

Open
wnim opened this issue Dec 28, 2022 · 0 comments
Open

Request to support systemverilog #186

wnim opened this issue Dec 28, 2022 · 0 comments

Comments

@wnim
Copy link

wnim commented Dec 28, 2022

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant