Scala-IDE - how to navigate to inferred type

I'm wondering whether in Scala-IDE is there possibility to jump from inferred value/variable to type of this variable. I can only see type information in tooltip while hovering over variable.

Answers


You can use Ctrl+Shift+T to find type that you see in tooltip.


There is a slightly better workaround in the current nightlies of Scala IDE. A feature has been added to make inferred types explicit.

Put the caret on the line declaring the val/var and use Ctrl+1. You should see the quick fix Add explicit type .... Then you can navigate to the type.

If you have a good idea on how to improve the UI to make this navigation possible, please open a feature request.


Need Your Help

Text box by default shouldnt scroll to the end

vba excel-vba textbox excel

My text box in VBA, by default scrolls to the bottom. I dont want this. I want the scroll bar to remain at the top when the userform displays.

Pattern for Reusable asynchronous HttpHandler

c# asp.net asynchronous httphandler ihttpasynchandler

I'm currently developing a custom HttpHandler (for compressing/combining CSS, but that doesn't matter for this question).