Message from discussion
Autocomplete inside method brackets
Received: by 10.58.254.39 with SMTP id af7mr3951704ved.41.1343937889736;
Thu, 02 Aug 2012 13:04:49 -0700 (PDT)
X-BeenThere: scala-ide-dev@googlegroups.com
Received: by 10.220.239.208 with SMTP id kx16ls2627187vcb.8.gmail; Thu, 02 Aug
2012 13:04:48 -0700 (PDT)
Received: by 10.52.34.9 with SMTP id v9mr2919548vdi.9.1343937888493;
Thu, 02 Aug 2012 13:04:48 -0700 (PDT)
Date: Thu, 2 Aug 2012 13:04:48 -0700 (PDT)
From: Ant Kutschera <ant.kutsch...@gmail.com>
To: scala-ide-dev@googlegroups.com
Message-Id: <3c24fb07-8dfe-4b19-a3f2-fde8dedd7ef7@googlegroups.com>
Subject: Autocomplete inside method brackets
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_134_4193614.1343937888087"
------=_Part_134_4193614.1343937888087
Content-Type: multipart/alternative;
boundary="----=_Part_135_17764906.1343937888087"
------=_Part_135_17764906.1343937888087
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
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.
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.
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.
Cheers,
Ant
------=_Part_135_17764906.1343937888087
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,<div><br></div><div>I don't know if this is a bug, but in Java, if I wri=
te the following code, and hit ctrl+space (autocomplete) with the cursor ju=
st *after* the *opening bracket*, I get a list of matching method definitio=
ns, so for the following example I get println(), println(boolean b), print=
ln(char x), etc. etc.</div><div><br></div><div><div> System.ou=
t.println()</div></div><div><br></div><div>I use this feature all the time =
in Java, since it helps remind me which parameters I need to pass to the me=
thod.</div><div><br></div><div>In the Scala IDE, I get a list of autocomple=
te stuff, but it doesn't include the method signatures at the top, like Jav=
a does.</div><div><br></div><div>Furthermore, if I hit F2 with the cursor i=
n 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, ev=
en if there is a compiler error.</div><div><br></div><div>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.</div>=
<div><br></div><div>My wish would be for the Scala IDE to behave the same a=
s the Java IDE, if possible.</div><div><br></div><div>Cheers,</div><div>Ant=
</div><div><br></div>
------=_Part_135_17764906.1343937888087--
------=_Part_134_4193614.1343937888087--