Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In eclipse how to create a folder with a package and package within a package?

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In eclipse how to create a folder with a package and package within a package?
 
Tim Holloway
Saloon Keeper
Posts: 18365
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you select "New Package" off the eclipse menu, the corresponding folder(s) will also be created automatically.

You don't have to define subpackages one level at a time. If I define a new package and enter the package name "com.coderanch.javaranch.saloon.forum", any missing elements in that package tree will also be created automatically.

That's also true in many (though not all) cases where you are prompted by Eclipse to specify/create a directory in general.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic