The Files window shows a directory-based view of your projects, including any files and folders that are not displayed in the Projects Window.
You can right-click in the white space of the Files window to open a popup menu command that enables you to collapse all expanded nodes in the window.
Each element in the Files window has a context-sensitive pop-up menu of commands that you can apply to that element. You open the popup menu by right-clicking the element. The commands that are available will depend upon the selected element. The popup menu for project nodes does not contain the major project commands, such as Build, Run, and Debug. These commands are only available in the Projects window.
The following table describes many of the commands that are available when you right-click a folder or file in the Files window.
Command | Description |
---|---|
New |
Enables you to create a new file in the selected folder. |
Find |
Opens Find in Projects dialog box to search for instances of a specified text or a regular expression. |
Cut |
Copies the selected element to clipboard and removes the element. |
Copy |
Copies the selected element and contents to the clipboard. |
Paste |
Adds element from clipboard to the selected folder. |
Delete |
Deletes the selected element. Also deletes the contents if the element is a folder. |
Refactor |
Opens a sub-menu with refactoring commands. |
Rename |
Opens the Rename refactoring dialog box. |
Move |
Opens the Move refactoring dialog box. This command is not available for all elements. |
Copy |
Opens the Copy refactoring dialog box. This command is not available for all elements. |
Safely Delete |
Opens the Safely Delete refactoring dialog box. |
History |
Opens the History sub-menu. |
Show History |
Opens the local history of the selected element. This command is not available for all elements. |
Revert Deleted |
Restores the deleted element. This command is not available for all elements. |
Tools |
Opens a sub-menu with various commands. |
Apply Diff Patch |
Opens a dislog box that enables you to select a diff patch to apply to the selected element |
Add to Favorites |
Add the selected element as a top-level element in the Favorites window. |
Create Tests |
Opens the Create Tests dialog box. |
Analyze Javadoc |
Opens the Analyzer window. |
Properties |
Opens the Properties window for the folder or file. |
Related Topics
Developing Applications with NetBeans IDE,
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. |