Name grouping in Ctrl-N

Our project is growing pretty large (4000+ classes) and using the Ctrl-N feature isn't as helpful as it once was (still a God-send, don't get me wrong). We've been using Idea from the beginning of the project, so our naming conventions were built around the Ctrl-N feature. Many of our classes have a prefix that allows us to quickly filter the list down to a group of similar classes:

Typing Ctrl-N followed by "SomePrefix" will give use 20-30 classes that have a similar function. This is very handy, but could be much better. Typing "SomePrefix" takes quite a bit more time than I'd like. Making shorter prefixes ("Sp") makes things to cryptic.

This idea is a bit out there, so bear with me... what if Idea recognized that there were more than 5 classes out there that started with the search term and it collapsed those into a group. Then I could select that group rather than typing it out. In the example above, I could have typed:
Ctrl-N
So
The list would look something like this:
SomePrefix*
SomeOtherPrefix*
-


SomeClassName
Samba
SodaClass
SushiClass
The user could press the down arrow once and press enter. The Ctrl-N box would now say "SomePrefix" and have the individual classes that start with SomePrefix listed below.

Another advantage of this, is the user would no longer need to sort through a huge list of "SomePrefix" classes to get to the SodaClass or the SushiClass.

What do you think? Too much?

2 comments

Perhaps this feature will help?

http://www.intellij.net/tracker/idea/viewSCR?publicId=665

(btw, it'll be available in Aurora...it was recently announced as fixed in
build 700)

chris

"Bryan Young" <BryanYoung@scruffles.net> wrote in message
news:5732814.1043776997330.JavaMail.jrun@is.intellij.net...

Our project is growing pretty large (4000+ classes) and using the Ctrl-N

feature isn't as helpful as it once was (still a God-send, don't get me
wrong). We've been using Idea from the beginning of the project, so our
naming conventions were built around the Ctrl-N feature. Many of our
classes have a prefix that allows us to quickly filter the list down to a
group of similar classes:
>

Typing Ctrl-N followed by "SomePrefix" will give use 20-30 classes that

have a similar function. This is very handy, but could be much better.
Typing "SomePrefix" takes quite a bit more time than I'd like. Making
shorter prefixes ("Sp") makes things to cryptic.
>

This idea is a bit out there, so bear with me... what if Idea recognized

that there were more than 5 classes out there that started with the search
term and it collapsed those into a group. Then I could select that group
rather than typing it out. In the example above, I could have typed:

Ctrl-N
So
The list would look something like this:
SomePrefix*
SomeOtherPrefix*
----
SomeClassName
Samba
SodaClass
SushiClass
The user could press the down arrow once and press enter. The Ctrl-N box

would now say "SomePrefix" and have the individual classes that start with
SomePrefix listed below.
>

Another advantage of this, is the user would no longer need to sort

through a huge list of "SomePrefix" classes to get to the SodaClass or the
SushiClass.
>

What do you think? Too much?



0

Perhaps this feature will help?
http://www.intellij.net/tracker/idea/viewSCR?publicId
665

(btw, it'll be available in Aurora...it was recently
announced as fixed in
build 700)

chris


I had thought about wildcarding, but that wouldn't really help me here. I would still need to time the prefix. "ClassPrefix*" and "ClassPrefix" would give me the same results and save no tying. What I really want is to type "Cla" and have it recognize that there are a lot of classes starting with "ClassPrefix", so it would show those first.

This feature would work a lot like internet explorer's address bar. The address bar is smart enough to recognize the difference between directories and files. It also knows which urls you've typed verses the ones you just navigated to.

I'm looking for a more intelligent feature than unix like tools -- think google.

0

Please sign in to leave a comment.