java - Java programming language templates
hkjava.emf - Java programming language hook definition
java.etf - Java programming language template file
.java, .jav - Java
The java file type templates share much with the c(9) template definitions, utilising the electric 'C' features for automatic layout of text.
General Editing
Hilighting
Auto Layout
restyle-region(3) and restyle-buffer(3) are available to reformat (re-layout) selected sections of the buffer, or the whole buffer, respectively.
Comments may be formatted using esc o, which reformats the comments according to the current fill paragraph. If a comment commences with /***... then the comment is automatically formatted to a box.
Folding and Information Hiding
Working Environment
rcs-file(2) is automatically invoked if an RCS file is detected, the normal check-in/out operations may be performed through the editor.
Short Cuts
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with stars (*).
A-C-i - Restyle the current region.
esc q - Format a comment.
esc o - Format a comment.
f2 - (un)fold the current region
f3 - (un)fold all regions
The hilighting is typically extended using a file myjava.emf
c(9), c-brace(5), cmode(2m), compile(3), find-tag(2), fold-all(3), fold-current(3), rcs-file(2), restyle-buffer(3), restyle-region(3), time(2m).
(c) Copyright JASSPA 1999
Last Modified: 1999/02/06
Generated On: 1999/12/01