cornercorner
FeaturesPluginsDocs & SupportCommunityPartners



Formatting options


The formatting of the text is done by indentation engines. The indentation engines are system services that can be installed or deinstalled or customized. Currently there are two indentation engines:

  • Simple Indentation Engine
  • Java Indentation Engine

The Simple Indentation Engine has two options:

  • Expand Tabs to Spaces - if True, the typed Tabs are expand to spaces. The existing Tab characters ('\t') in the text are left unchanged. They can be converted to tabs by reformatting the code.
  • Number of Spaces per Tab - number of spaces to be substituted per typed Tab. It has only effect if the Expand Tabs to Spaces is set to True.

The Java Indentation Engine has two more options:

  • Add Space before Parenthesis - if True, whenever parentheses are used to enclose parameters, a space precedes the opening parenthesis.
  • Curly Brace on Next Line - if True, the opening curly brace is placed on a new line.

All the currently installed indentation engines are listed under Project | Settings under Indentation Engines.

The Indentation Engine property under Tools | Global Options... and the Editor Settings | <editor-type> node defines which indentation engine will be used by the given editor type.


Contents Prev Next
Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems