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
请先登录再写评论。
Hello t800t8,
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!"
Hi Dmitry,
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.
Makes sense.
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.