word completion feature
I previously worked with NetBeans 3.4: idea editor is better in simply everything except a feature (which might be present, but I wasn't able to find, anyway). In the NB editor, there is a couple of shortcuts (ctrl-K and ctrl-L, to be precise) which allows to complete the word at the caret with the first word that is found in the editor and begins with the same chars. Ex: if I am typing
int num]]>
and press ctrl-K, the editor completes the word "num" with the nearer word that can be found BEFORE (ctrl-L works with words found AFTER) that line in the editor and begins with "num".
Pressing ctrl-K multiple times cycles through all the available words that begin with "num". It is a very simple feature (no syntactic or semantic stuff is performed), but is simply one of the most powerful that an editor can offer (at least is one of the features with the best ratio "advantage"/"implementation complexity", I think).
Is there something similar in IDEA? I know there is ctrl-space, but this only works with variable names in scope and so on: the feature I am talking about is much less "smart", but in a lot of cases is very useful.
请先登录再写评论。
I agree.
I couldn't find it either.
The current auto-completion is great, but sometimes it isn't the fastest way to enter some code.
If it isn't already in the issue-tracker, you could file a feature request and see how many votes it gets.
I'd like this feature as well. The old editor I used to use in C++ days
(SlickEdit) had this feature (Ctrl-Alt-< and Ctrl-Alt->). This is one of
very few features that SlickEdit has that IDEA does not. I have always
assumed that one of the IDEA developers was a former SlickEdit user ;)
Davide Baroncelli wrote:
Ok, it is filed. you can find it here: http://www.intellij.net/tracker/idea/viewSCR?publicId=7746 .
Hmmm... I have always assumed that one of the IDEA developers was a former
Emacs user. :) (I guess we both could be right.) The corresponding
Emacs feature (which is, of course, even studlier than those described :)
is dabbrev-expand.
Kendall
"Matt Humphrey" <matth@pobox.com> wrote in message
news:art9ll$lks$1@is.intellij.net...
>
everything except a feature (which might be present, but I wasn't able to
find, anyway). In the NB editor, there is a couple of shortcuts (ctrl-K and
ctrl-L, to be precise) which allows to complete the word at the caret with
the first word that is found in the editor and begins with the same chars.
Ex: if I am typing
word that can be found BEFORE (ctrl-L works with words found AFTER) that
line in the editor and begins with "num".
that begin with "num". It is a very simple feature (no syntactic or semantic
stuff is performed), but is simply one of the most powerful that an editor
can offer (at least is one of the features with the best ratio
"advantage"/"implementation complexity", I think).
only works with variable names in scope and so on: the feature I am talking
about is much less "smart", but in a lot of cases is very useful.
>
"Kendall Collett" <kcollett@jump.net> wrote in message
news:artcd0$r67$1@is.intellij.net...
>
Find out at:
http://www.intellij.org/twiki/bin/view/Main/YourPreviousJavaEditor
:D
"Chris Bartley" <spam@feynman.org> wrote in message
news:artd1t$sea$1@is.intellij.net...
former
>
>
I was curious to see what peoples' favorite former editor/IDE was, but not
necessarily the previous one, and not necessarily a Java editor. So:
http://www.intellij.org/twiki/bin/view/Main/YourFavoriteFormerEditor