Sublime Forum

How does Sublime Text 4 display the definition of Verilog variables when the mouse hovers over them?

#1

In Verilog files, how can I make it so that when the mouse hovers over a defined variable, a tooltip showing the variable definition pops up, as shown in the following figure:

0 Likes

#2

That’s from a (maybe Verilog) plugin

1 Like

#3

OKOK,thanks. I’ve tried the Ctags plugin in Sublime Text 4, but it can only jump to the definition and can’t display it when hovering. I saw that someone else achieved this in Sublime Text, yet I’m not sure about its version number. I don’t know if it’s due to the version.

0 Likes

#4

I haven’t looked into Verilog packages, but if their syntax provides proper symbol information, “Goto Definition” via F12 and proper hover dialogs should work using ST’s core features. Maybe Verilog’s plugin just overrides ST’s default “Goto definition” popup.

1 Like

#5

I’ve learned something. Thank you. I got a reply from the user. He did use the hint function provided by the plugin. Thanks again, deathaxe.

0 Likes