On Aug 2, 2012, at 10:04 PM, Ant Kutschera wrote:
> Hi,
>
> I don't know if this is a bug, but in Java, if I write the following code, and hit ctrl+space (autocomplete) with the cursor just *after* the *opening bracket*, I get a list of matching method definitions, so for the following example I get println(), println(boolean b), println(char x), etc. etc.
>
> System.out.println()
>
> I use this feature all the time in Java, since it helps remind me which parameters I need to pass to the method.
I don't remember if we have a ticket for this. You could check on our issue tracker and file an enhancement ticket if you can't find one.
http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets
>
> In the Scala IDE, I get a list of autocomplete stuff, but it doesn't include the method signatures at the top, like Java does.
>
> Furthermore, if I hit F2 with the cursor in the method name (e.g. after "pri" and before "ntlin" in the example above), then in Java it shows me the Javadoc, including the method signature, even if there is a compiler error.
This is a missing feature. We have quite a few tickets for it already. For instance:
http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1000210
We are very aware that this is an important missing feature. However, this is not easy to implement because we need special support from the Scala compiler (to be precise, from the Scala Presentation Compiler).
>
> In the Scala IDE, F2 just shows me the error, which doesn't always include the signature, so I am clueless as to what parameters I have to pass to the parameter.
>
> My wish would be for the Scala IDE to behave the same as the Java IDE, if possible.
That's exactly what we aim for every time we implement something that also exists in the Java side.
Cheers,
Mirco
>
> Cheers,
> Ant
>