javavscode icon indicating copy to clipboard operation
javavscode copied to clipboard

Show constructor signature in hover information

Open chriskriel opened this issue 1 year ago • 2 comments

When hovering over a method the hover information / tool-tip correctly shows the method signature. However for a constructor it incorrectly (in my opinion) shows class information and not the signature.

The only why to see the constructor's signature is to hover over a numeric argument to the constructor, which is not always available.

chriskriel avatar Jun 21 '24 09:06 chriskriel

To be more clear, said "numeric argument" must be a constant, otherwise the tool-tip shows the variable declaration.

chriskriel avatar Jun 21 '24 09:06 chriskriel

PR raised in Netbeans: https://github.com/apache/netbeans/pull/7654

Achal1607 avatar Aug 13 '24 09:08 Achal1607