What is purpose of Project tab in Choose Main Class dialog?

For choosing a class contains main() I think "Search by Name" tab is enough and it should display all classes contain main() (http://www.jetbrains.net/jira/browse/IDEA-14392]IDEA-14392). I don't see any reasons to add Project tab here.



Attachment(s):
ChooseMainClass.png
0
Avatar
Permanently deleted user

Hello t800t8,

For choosing a class contains main() I think "Search by Name" tab is
enough and it should display all classes contain main()
(http://www.jetbrains.net/jira/browse/IDEA-14392]IDEA-14392). I don't
see any reasons to add Project tab here.


Well, this is standard class chooser UI. If you have many classes containing
main() it may be more convenient to choose one by browsing the package structure,
rather than choosing from an alphabetic list.

I don't see any reasons to remove the Project tab from there. :)

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Hi Dmitry,

Well, this is standard class chooser UI. If you have
many classes containing
main() it may be more convenient to choose one by
browsing the package structure,
rather than choosing from an alphabetic list.

I don't see any reasons to remove the Project tab
from there. :)


The reason is the project tree in Project tab contains everything, from class to properties file,.... while it should do a filter and display only classes contain main() ;)

And if I have many classes containing main(), I will do a search rather than browse a lot of folder to select only one class.

0
Avatar
Permanently deleted user

The reason is the project tree in Project tab contains everything, from
class to properties file,.... while it should do a filter and display
only classes contain main() ;)


Makes sense.

And if I have many classes containing main(), I will do a search rather
than browse a lot of folder to select only one class.


We have a couple of PackageTest classes, one for each package containing
unit tests. Selecting the right could be a little bit difficult from the
browser.

0

请先登录再写评论。