Link Here
|
101 |
"\t//\t\t\tSystem.out.println(\"indented\");\n" + //$NON-NLS-1$ |
101 |
"\t//\t\t\tSystem.out.println(\"indented\");\n" + //$NON-NLS-1$ |
102 |
"\t//\t}\n" + //$NON-NLS-1$ |
102 |
"\t//\t}\n" + //$NON-NLS-1$ |
103 |
"\n" + //$NON-NLS-1$ |
103 |
"\n" + //$NON-NLS-1$ |
|
|
104 |
"\t//\tvoid trailingCommented() {\n" + //$NON-NLS-1$ |
105 |
"\t//\t\t\tSystem.out.println(\"indented\");\t\t// comment\n" + //$NON-NLS-1$ |
106 |
"\t//\t\t\tSystem.out.println(\"indent\");\t\t// comment\n" + //$NON-NLS-1$ |
107 |
"\t//\t}\n" + //$NON-NLS-1$ |
108 |
"\n" + //$NON-NLS-1$ |
104 |
"/* block comment on first column*/\n" + //$NON-NLS-1$ |
109 |
"/* block comment on first column*/\n" + //$NON-NLS-1$ |
105 |
" int bar();\n" + //$NON-NLS-1$ |
110 |
" int bar();\n" + //$NON-NLS-1$ |
106 |
"\t/*\n" + //$NON-NLS-1$ |
111 |
"\t/*\n" + //$NON-NLS-1$ |
Link Here
|
141 |
GridData spacerData= new GridData(0, 0); |
146 |
GridData spacerData= new GridData(0, 0); |
142 |
spacerData.horizontalSpan= numColumns; |
147 |
spacerData.horizontalSpan= numColumns; |
143 |
new Composite(globalGroup, SWT.NONE).setLayoutData(spacerData); |
148 |
new Composite(globalGroup, SWT.NONE).setLayoutData(spacerData); |
|
|
149 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_preserve_trailing_line_comment_indentation, DefaultCodeFormatterConstants.FORMATTER_COMMENT_PRESERVE_TRAILING_LINE_COMMENT_INDENTATION, false); |
144 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_never_indent_block_comments_on_first_column, DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN, false); |
150 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_never_indent_block_comments_on_first_column, DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN, false); |
145 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_never_indent_line_comments_on_first_column, DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN, false); |
151 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_never_indent_line_comments_on_first_column, DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN, false); |
146 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_do_not_join_lines, DefaultCodeFormatterConstants.FORMATTER_JOIN_LINES_IN_COMMENTS, true); |
152 |
createPrefFalseTrue(globalGroup, numColumns, FormatterMessages.CommentsTabPage_do_not_join_lines, DefaultCodeFormatterConstants.FORMATTER_JOIN_LINES_IN_COMMENTS, true); |