Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

File actions

File menu commands:

Name

Function

Keyboard Shortcut

New

Create a Java element or a new resource. Configure which elements are shown in the submenu in Window > Customize Perspective. In a Java perspective, by default action for creating a project, package, class, interface, enum, annotation, source folder, Java working set, JUnit test, file and folder are available.

Alt + Shift + N

Open File

Opens a file from the file system in an editor.

 

Close 

Close the current editor. If the editor contains unsaved data, a save request dialog will be shown.

Ctrl + W

Close All

Close all editors. If editors contains unsaved data, a save request dialog will be shown.

Ctrl + Shift + W

Save

Save the content of the current editor. Disabled if the editor does not contain unsaved changes.

Ctrl + S

Save As

Save the content of the current editor under a new name.

 
Save All Save the content of all editors with unsaved changes. Disabled if no editor contains unsaved changes. Ctrl + Shift + S
Revert Revert the content of the current editor back to the content of the saved file. Disabled if the editor does not contain unsaved changes.  
Move Move a resource. Disabled on Java Elements. To move Java elements use Refactor > Move (with updating all references to the file) or Edit > Cut / Paste (no updating of references).  
Rename Renames a resource. Disabled on Java Elements. To rename Java elements use Refactor > Rename (with updating all references to the file).  
Refresh Refreshes the content of the selected element with the local file system. When launched from no specific selection, this command refreshes all projects. F5
Convert Line Delimiters To Convert the line delimiters of all the text files in the selection to the selected delimiter kind.  
Print Prints the content of the current editor. Enabled when an editor has the focus. Ctrl + P
Switch Workspace Switch to another workspace.  
Restart Restarts the application.  
Import Opens the import wizard dialog. JDT does not contribute any import wizards.  
Export Opens the export wizard dialog. JDT contributes the JAR file export wizard and the Javadoc generation wizard.  
Properties Opens the property pages of the select elements. Opened on Java projects the Java Build Path page and the Javadoc Location page are available. For JAR archives, configure the JAR's Source Attachment and Javadoc Location here. Alt + Enter
Exit Exit Eclipse  

Related concepts

Java development tools (JDT)

Related tasks

Creating JAR files

Related reference

New Java project wizard
New Java package wizard
New Java class wizard
New Java enum wizard
New Java interface wizard
New Java annotation wizard
JAR file exporter
Javadoc generation
Javadoc location properties
Java build path properties
Source attachment properties


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire