Working with Files Not in the Project


When you set up a project in the IDE, only the files most likely to need hand editing (such as your source files) are exposed in the Projects window. You can access all files in your project using the Files window, but sometimes there are other files you might want to access. If there are other files on your system that you want to regularly have access to, you can display them in the Favorites window.

To use the Favorites window:

  1. Choose Window | Favorites (Ctrl-3) to open the Favorites window as a tab in the area occupied by the Projects window.

  2. In the Favorites window, right-click and choose Add Favorites.

  3. In the file chooser, select the root folder that you want to add to Favorites.

You can add multiple folders to the Favorites window, and you can add folders at any level of a file hierarchy. This provides a lot of flexibility in what files you make visible. For example, if you have a deep package hierarchy, you can save a lot of time on folder expansion by adding folders that directly contain your files.

You can run most IDE commands on nodes in the Favorites window. However, project-specific commands (such as Build Main Project) are not available in Favorites, so you must choose those commands in the Projects window, through the main menu, or through keyboard shortcuts.

If you merely want to open a file in the IDE one time, you can use the File | Open command.




NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 279

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net