# Using the Java editor

Note: Keyboard shortcuts used in the section (Java editor-related tasks) are the default key bindings.
You can change between the Standard and the Emacs key binding sets by using the Active configuration combo box on Window > Preferences > General > Keys.

Java editor

Generating getters and setters
Managing import statements
Using the local history
Formatting Java code
Viewing documentation and information
Using templates
Writing your own templates
Converting line delimiters
Finding and replacing
Changing the encoding used to show the source
Using quick fix
Using Structured Selection
Commenting and uncommenting lines of code
Shifting lines of code left and right
Using Surround with try/catch
Showing single elements or whole Java files
Opening an editor for a selected element
Using content/code assist

Java Editor
Java outline
Java editor actions