oracle / javavscode

Java platform support for Visual Studio Code for full featured Java development (edit-compile-debug & test cycle)
Apache License 2.0
232 stars 31 forks source link

Show constructor signature in hover information #182

Closed chriskriel closed 3 months ago

chriskriel commented 5 months ago

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 commented 5 months ago

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

Achal1607 commented 3 months ago

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