Some completion issues
Hi All!
I have some points to discuss in IDEA code completion. We have changed
some things in smart completion and I have a number of requests submitted
on these changes:
-- Live templates for "new ...." have been removed since we have
implemented SC after new.
-- SC don't take into account your import settings and search for
abstract class or interface inheritors project wide.
-- SC now tries to complete factories (static members, that return the
same type). These methods are listed in common lookup.
Do you agree with these changes?
Also I want to ask all of you: when you submit a request on completion
or smart completion please try to describe a context where you've found a
problem. These features are strongly connected with your code position so
it's hard to determine the cause without this information.
Thanks,
IK
--
Igor Kuralenok
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Please sign in to leave a comment.
>-- SC now tries to complete factories (static members, that return the
>same type). These methods are listed in common lookup.
Hmm, does not work for me.
I have a class QSetTableInputManager, that has among others the method
QSetTableInputManager QSetTableInputManager.createInstance(), but I'm
unable to complete it with Ctrl-Shift-Space at the caret |:
QSetTableInputManager inputManager = |
>Do you agree with these changes?
I do.
Could IDEA use statistics to detect, what to smart-complete? Following
situation: a couple of classes implement an interface InderFace, but
in a couple of methods I create only anonymous classes:
public InderFace createInderFace() {
return new |
}
It would be fine, if IDEA could remember, that, when an InderFace is
required, I want to create it anonymously.
Same applies to List list = new |, where I quite always use
ArrayList() -- without parameters.
Tom
Hi All!
On Thu, 24 Apr 2003, Thomas Singer wrote:
It'll work in the next build.
This feature will also be available in the next build.
IK
--
Igor Kuralenok
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Fine :)
This definitely will become another outstanding, non-obvious but
ingenious IDEA feature, that will change your habbits.
Does other people also press Ctrl-W, Ctrl-D or similar shortcuts in --
for instance -- your email program and wonder why it does not work (as
expected)?
Tom
Haha, yeah, I'm always reaching for CTRL-W in my word processor (OpenOffice).
Tobin
Thomas Singer wrote:
All the time. And it can be quite hazardous in Mozilla Mail because it
tries to close the email I'm composing! ;)
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Much worse! Even when I'm reading a book and come across, say, a person that was introduced much earlier and I don't remember all details about him, I instinctively want to press Ctrl-Shift-F before I realize books don't (yet) have that feature.
Regards,
Jens
On Mon, 28 Apr 2003 17:20:03 -0400, Gordon Tyler wrote:
Heh - seems ctrl-w is becoming a common keystroke for "close", I got used
to it in Jedit heaps and its much handier than ctrl-f4 - so I have that
mapped in Idea as well... makes it easier when Idea was the only app that
was different :P
--
...turn to the light - don't be frightened by the shadows it creates,
...turn to the light - turning away could be a terrible mistake
...dream theater - the great debate