mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Some explanatory JavaDoc
This commit is contained in:
@@ -16,10 +16,23 @@
|
||||
package com.intellij.formatting;
|
||||
|
||||
/**
|
||||
* @author Denis Zhdanov
|
||||
* @since 8/22/12 2:44 PM
|
||||
* The current formatting mode.
|
||||
*/
|
||||
public enum FormattingMode {
|
||||
|
||||
REFORMAT, ADJUST_INDENT, ADJUST_INDENT_ON_ENTER
|
||||
|
||||
/**
|
||||
* Normal reformat (modifies indents and inline whitespaces).
|
||||
*/
|
||||
REFORMAT,
|
||||
|
||||
/**
|
||||
* Line indent adjustment.
|
||||
*/
|
||||
ADJUST_INDENT,
|
||||
|
||||
/**
|
||||
* Indent adjustment on a new line after Enter. In some cases a behavior may be different from the case when the same code is
|
||||
* reformatted or indented, especially when some more input is expected to follow on the new line.
|
||||
*/
|
||||
ADJUST_INDENT_ON_ENTER
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user