I do love the new "Show inline hints" in NetBeans 11.1
I have noticed that the hints are only shown if a constant value is passed to
the method call.
If the argument of a method is a variable (or uses one), then the hint is not
shown.
An example of what I mean:
String s = "foo"
doSomething(s);
--> no parameter hint is shown for the above, however in the following case:
doSomething("foo");
--> the parameter hint IS shown.
The hint is also NOT shown when the parameter uses constants and variables:
doSomething(s + "bar");
Here is a screenshot of what I mean:
https://i.imgur.com/z7hTVIU.png
Can this be changed somewhere?
So that in all three cases shown in the screenshot, the parameter hint is shown.
Regards
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists