I'm using SonarLint 1.3
in Eclipse Mars
. My problem is when there's an SonarLint issue it prevents every other tooltip from appearing.
Example: as you can see tooltip for Hashtable
is not shown because of SonarLint hint.
Is there a way to show both Eclipse tooltips and SonarLint hints?
This is standard Eclipse behavior that problem marker tooltips will have higher priority than JDT Hover tooltips.
If you want to force JDT tooltips to be displayed it is possible using some keybord shortcuts. Look in Eclipse preferences for Java -> Editors -> Hovers
For example to see the Javadoc tooltip that is displayed on Hashtable when there is no SonarLint issue you should press Ctrl+Shift
Example:
The simplest solution I found is to "show view" javadoc. By doing this you will be able to see SonarLint tooltip and the code fragment-related javadoc in the javadoc view when you placed your cursor inside the code fragment. Yes, this is NOT actual "hovering", I know, but this is the only way I found so far.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With