View | Details | Raw Unified | Return to bug 329528
Collapse All | Expand All

(-)a/org.eclipse.mylyn.wikitext.markdown.core/.classpath (+7 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
6
	<classpathentry kind="output" path="bin"/>
7
</classpath>
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.project (+34 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.eclipse.mylyn.wikitext.markdown.core</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
		<buildCommand>
24
			<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
25
			<arguments>
26
			</arguments>
27
		</buildCommand>
28
	</buildSpec>
29
	<natures>
30
		<nature>org.eclipse.pde.PluginNature</nature>
31
		<nature>org.eclipse.jdt.core.javanature</nature>
32
		<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
33
	</natures>
34
</projectDescription>
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.core.runtime.prefs (+2 lines)
Added Link Here
1
eclipse.preferences.version=1
2
line.separator=\n
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.jdt.core.prefs (+357 lines)
Added Link Here
1
#Wed Mar 02 16:00:04 PST 2011
2
eclipse.preferences.version=1
3
org.eclipse.jdt.core.codeComplete.argumentPrefixes=
4
org.eclipse.jdt.core.codeComplete.argumentSuffixes=
5
org.eclipse.jdt.core.codeComplete.fieldPrefixes=
6
org.eclipse.jdt.core.codeComplete.fieldSuffixes=
7
org.eclipse.jdt.core.codeComplete.localPrefixes=
8
org.eclipse.jdt.core.codeComplete.localSuffixes=
9
org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
10
org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
11
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
12
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
13
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
14
org.eclipse.jdt.core.compiler.compliance=1.5
15
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
16
org.eclipse.jdt.core.compiler.debug.localVariable=generate
17
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
18
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
19
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
20
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
21
org.eclipse.jdt.core.compiler.problem.deprecation=warning
22
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
23
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
24
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
25
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
26
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
27
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
28
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
29
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
30
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
31
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
32
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
33
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
34
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
35
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
36
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
37
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
38
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
39
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
40
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
41
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
42
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
43
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
44
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
45
org.eclipse.jdt.core.compiler.problem.nullReference=error
46
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
47
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
48
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
49
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
50
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
51
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
52
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
53
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
54
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
55
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
56
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
57
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
58
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
59
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
60
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
61
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
62
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
63
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
64
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
65
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
66
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
67
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
68
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
69
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
70
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
71
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
72
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
73
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
74
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
75
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
76
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
77
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
78
org.eclipse.jdt.core.compiler.source=1.5
79
org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
80
org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
81
org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
82
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
83
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
84
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
85
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
86
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
87
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
88
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
89
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
90
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
91
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
92
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
93
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
94
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
95
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
96
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
97
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
98
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
99
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
100
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
101
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
102
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
103
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
104
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
105
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
106
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
107
org.eclipse.jdt.core.formatter.blank_lines_before_field=1
108
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
109
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
110
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
111
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
112
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
113
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
114
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
115
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
116
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
117
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
118
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
119
org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
120
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
121
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
122
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
123
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
124
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
125
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
126
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
127
org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
128
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
129
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
130
org.eclipse.jdt.core.formatter.comment.format_block_comments=false
131
org.eclipse.jdt.core.formatter.comment.format_comments=true
132
org.eclipse.jdt.core.formatter.comment.format_header=false
133
org.eclipse.jdt.core.formatter.comment.format_html=true
134
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
135
org.eclipse.jdt.core.formatter.comment.format_line_comments=false
136
org.eclipse.jdt.core.formatter.comment.format_source_code=true
137
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
138
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
139
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
140
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
141
org.eclipse.jdt.core.formatter.comment.line_length=120
142
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
143
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
144
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
145
org.eclipse.jdt.core.formatter.compact_else_if=true
146
org.eclipse.jdt.core.formatter.continuation_indentation=2
147
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
148
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
149
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
150
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
151
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
152
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
153
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
154
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
155
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
156
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
157
org.eclipse.jdt.core.formatter.indent_empty_lines=false
158
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
159
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
160
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
161
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
162
org.eclipse.jdt.core.formatter.indentation.size=4
163
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
164
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
165
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
166
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
167
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
168
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
169
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=insert
170
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
171
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
172
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
173
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
174
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
175
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
176
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
177
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
178
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
179
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
180
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
181
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
182
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
183
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
184
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
185
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
186
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
187
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
188
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
189
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
190
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
191
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
192
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
193
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
194
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
195
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
196
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
197
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
198
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
199
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
200
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
201
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
202
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
203
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
204
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
205
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
206
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
207
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
208
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
209
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
210
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
211
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
212
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
213
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
214
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
215
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
216
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
217
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
218
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
219
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
220
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
221
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
222
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
223
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
224
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
225
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
226
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
227
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
228
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
229
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
230
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
231
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
232
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
233
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
234
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
235
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
236
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
237
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
238
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
239
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
240
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
241
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
242
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
243
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
244
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
245
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
246
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
247
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
248
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
249
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
250
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
251
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
252
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
253
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
254
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
255
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
256
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
257
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
258
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
259
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
260
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
261
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
262
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
263
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
264
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
265
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
266
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
267
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
268
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
269
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
270
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
271
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
272
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
273
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
274
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
275
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
276
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
277
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
278
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
279
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
280
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
281
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
282
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
283
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
284
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
285
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
286
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
287
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
288
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
289
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
290
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
291
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
292
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
293
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
294
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
295
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
296
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
297
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
298
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
299
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
300
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
301
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
302
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
303
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
304
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
305
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
306
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
307
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
308
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
309
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
310
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
311
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
312
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
313
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
314
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
315
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
316
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
317
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
318
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
319
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
320
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
321
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
322
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
323
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
324
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
325
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
326
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
327
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
328
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
329
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
330
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
331
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
332
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
333
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
334
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
335
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
336
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
337
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
338
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
339
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
340
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
341
org.eclipse.jdt.core.formatter.join_wrapped_lines=true
342
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
343
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
344
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
345
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
346
org.eclipse.jdt.core.formatter.lineSplit=120
347
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
348
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
349
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
350
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
351
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
352
org.eclipse.jdt.core.formatter.tabulation.char=tab
353
org.eclipse.jdt.core.formatter.tabulation.size=4
354
org.eclipse.jdt.core.formatter.use_on_off_tags=false
355
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
356
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
357
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.jdt.ui.prefs (+64 lines)
Added Link Here
1
#Wed Mar 02 16:00:06 PST 2011
2
cleanup_settings_version=2
3
eclipse.preferences.version=1
4
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
5
formatter_profile=_Mylyn based on Eclipse
6
formatter_settings_version=12
7
internal.default.compliance=default
8
org.eclipse.jdt.ui.exception.name=e
9
org.eclipse.jdt.ui.gettersetter.use.is=true
10
org.eclipse.jdt.ui.javadoc=false
11
org.eclipse.jdt.ui.keywordthis=false
12
org.eclipse.jdt.ui.overrideannotation=true
13
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"></template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\n * Copyright (c) 2007, 2008 David Green and others.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n *     David Green - initial API and implementation\n *******************************************************************************/\n\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
14
sp_cleanup.add_default_serial_version_id=true
15
sp_cleanup.add_generated_serial_version_id=false
16
sp_cleanup.add_missing_annotations=true
17
sp_cleanup.add_missing_deprecated_annotations=true
18
sp_cleanup.add_missing_methods=false
19
sp_cleanup.add_missing_nls_tags=false
20
sp_cleanup.add_missing_override_annotations=true
21
sp_cleanup.add_serial_version_id=false
22
sp_cleanup.always_use_blocks=true
23
sp_cleanup.always_use_parentheses_in_expressions=false
24
sp_cleanup.always_use_this_for_non_static_field_access=false
25
sp_cleanup.always_use_this_for_non_static_method_access=false
26
sp_cleanup.convert_to_enhanced_for_loop=true
27
sp_cleanup.correct_indentation=true
28
sp_cleanup.format_source_code=true
29
sp_cleanup.format_source_code_changes_only=false
30
sp_cleanup.make_local_variable_final=false
31
sp_cleanup.make_parameters_final=false
32
sp_cleanup.make_private_fields_final=true
33
sp_cleanup.make_type_abstract_if_missing_method=false
34
sp_cleanup.make_variable_declarations_final=true
35
sp_cleanup.never_use_blocks=false
36
sp_cleanup.never_use_parentheses_in_expressions=true
37
sp_cleanup.on_save_use_additional_actions=true
38
sp_cleanup.organize_imports=true
39
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
40
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
41
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
42
sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
43
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
44
sp_cleanup.remove_private_constructors=true
45
sp_cleanup.remove_trailing_whitespaces=true
46
sp_cleanup.remove_trailing_whitespaces_all=true
47
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
48
sp_cleanup.remove_unnecessary_casts=true
49
sp_cleanup.remove_unnecessary_nls_tags=true
50
sp_cleanup.remove_unused_imports=false
51
sp_cleanup.remove_unused_local_variables=false
52
sp_cleanup.remove_unused_private_fields=true
53
sp_cleanup.remove_unused_private_members=false
54
sp_cleanup.remove_unused_private_methods=true
55
sp_cleanup.remove_unused_private_types=true
56
sp_cleanup.sort_members=false
57
sp_cleanup.sort_members_all=false
58
sp_cleanup.use_blocks=true
59
sp_cleanup.use_blocks_only_for_return_and_throw=false
60
sp_cleanup.use_parentheses_in_expressions=false
61
sp_cleanup.use_this_for_non_static_field_access=false
62
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
63
sp_cleanup.use_this_for_non_static_method_access=false
64
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.ltk.core.refactoring.prefs (+3 lines)
Added Link Here
1
#Tue Aug 18 22:42:26 PDT 2009
2
eclipse.preferences.version=1
3
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.mylyn.tasks.ui.prefs (+4 lines)
Added Link Here
1
#Thu Jul 31 11:10:26 PDT 2008
2
eclipse.preferences.version=1
3
project.repository.kind=bugzilla
4
project.repository.url=https\://bugs.eclipse.org/bugs
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.mylyn.team.ui.prefs (+2 lines)
Added Link Here
1
commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
2
eclipse.preferences.version=1
(-)a/org.eclipse.mylyn.wikitext.markdown.core/.settings/org.eclipse.pde.prefs (+18 lines)
Added Link Here
1
#Tue Apr 15 11:07:59 PDT 2008
2
compilers.incompatible-environment=1
3
compilers.p.build=1
4
compilers.p.deprecated=1
5
compilers.p.discouraged-class=2
6
compilers.p.missing-bundle-classpath-entries=1
7
compilers.p.missing-packages=1
8
compilers.p.no-required-att=0
9
compilers.p.not-externalized-att=2
10
compilers.p.unknown-attribute=0
11
compilers.p.unknown-class=0
12
compilers.p.unknown-element=0
13
compilers.p.unknown-identifier=1
14
compilers.p.unknown-resource=0
15
compilers.p.unresolved-ex-points=0
16
compilers.p.unresolved-import=0
17
compilers.use-project=true
18
eclipse.preferences.version=1
(-)a/org.eclipse.mylyn.wikitext.markdown.core/META-INF/MANIFEST.MF (+13 lines)
Added Link Here
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %Bundle-Name.0
4
Bundle-SymbolicName: org.eclipse.mylyn.wikitext.markdown.core;singleton:=true
5
Bundle-Version: 1.8.0.qualifier
6
Bundle-Vendor: %Bundle-Vendor.0
7
Bundle-RequiredExecutionEnvironment: J2SE-1.5
8
Require-Bundle: org.eclipse.mylyn.wikitext.core;bundle-version="1.5.0",
9
 org.eclipse.team.core;resolution:=optional
10
Export-Package: org.eclipse.mylyn.internal.wikitext.markdown.core.block;x-internal:=true,
11
 org.eclipse.mylyn.internal.wikitext.markdown.core.validation;x-internal:=true,
12
 org.eclipse.mylyn.wikitext.markdown.core
13
Bundle-Localization: plugin
(-)a/org.eclipse.mylyn.wikitext.markdown.core/META-INF/services/org.eclipse.mylyn.wikitext.core.parser.markup.MarkupLanguage (+1 lines)
Added Link Here
1
org.eclipse.mylyn.wikitext.markdown.core.MarkdownLanguage
(-)a/org.eclipse.mylyn.wikitext.markdown.core/about.html (+28 lines)
Added Link Here
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
<html>
3
<head>
4
<title>About</title>
5
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
6
</head>
7
<body lang="EN-US">
8
<h2>About This Content</h2>
9
 
10
<p>June 24, 2011</p>	
11
<h3>License</h3>
12
13
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
14
indicated below, the Content is provided to you under the terms and conditions of the
15
Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
16
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
17
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
18
19
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
20
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
21
apply to your use of any object code in the Content.  Check the Redistributor's license that was 
22
provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
23
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
24
and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
25
26
27
</body>
28
</html>
(-)a/org.eclipse.mylyn.wikitext.markdown.core/build.properties (+19 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2012 Stefan Seelmann and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     Stefan Seelmann - initial API and implementation
10
###############################################################################
11
source.. = src/
12
output.. = bin/
13
bin.includes = META-INF/,\
14
               .,\
15
               plugin.xml,\
16
               plugin.properties,\
17
               about.html
18
19
src.includes=about.html
(-)a/org.eclipse.mylyn.wikitext.markdown.core/plugin.properties (+15 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2012 Stefan Seelmann and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     Stefan Seelmann - initial API and implementation
10
###############################################################################
11
12
Bundle-Vendor.0 = Eclipse Mylyn
13
Bundle-Name.0 = Mylyn WikiText Markdown
14
15
content-type.name = Markdown WikiText Markup
(-)a/org.eclipse.mylyn.wikitext.markdown.core/plugin.xml (+35 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.0"?>
3
<!--
4
    Copyright (c) 2012 Stefan Seelmann and others.
5
    All rights reserved. This program and the accompanying materials
6
    are made available under the terms of the Eclipse Public License v1.0
7
    which accompanies this distribution, and is available at
8
    http://www.eclipse.org/legal/epl-v10.html
9
    
10
    Contributors:
11
        Stefan Seelmann - initial API and implementation
12
 -->
13
<plugin>
14
   <extension point="org.eclipse.mylyn.wikitext.core.markupLanguage">
15
      <language class="org.eclipse.mylyn.wikitext.markdown.core.MarkdownLanguage"
16
            name="Markdown" fileExtensions="markdown,md,mdtext">
17
      </language>
18
   </extension>
19
20
   <extension point="org.eclipse.core.contenttype.contentTypes">
21
      <content-type id="org.eclipse.mylyn.wikitext.markdown" base-type="org.eclipse.mylyn.wikitext"
22
            file-extensions="markdown,md,mdtext" name="%content-type.name" priority="normal">
23
      </content-type>
24
   </extension>
25
26
   <extension point="org.eclipse.team.core.fileTypes">
27
      <fileTypes extension="markdown" type="text"/>
28
   </extension>
29
30
   <extension point="org.eclipse.mylyn.wikitext.core.markupValidationRule">
31
      <rule class="org.eclipse.mylyn.internal.wikitext.markdown.core.validation.MarkdownReferenceValidationRule"
32
            markupLanguage="Markdown"/>
33
 </extension>
34
35
</plugin>
(-)a/org.eclipse.mylyn.wikitext.markdown.core/pom.xml (+29 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
  <modelVersion>4.0.0</modelVersion>
5
  <parent>
6
    <artifactId>org.eclipse.mylyn.docs-parent</artifactId>
7
    <groupId>org.eclipse.mylyn.docs</groupId>
8
    <version>1.8.0-SNAPSHOT</version>
9
  </parent>
10
  <artifactId>org.eclipse.mylyn.wikitext.markdown.core</artifactId>
11
  <version>1.8.0-SNAPSHOT</version>
12
  <packaging>eclipse-plugin</packaging>
13
  <build>
14
    <plugins>
15
      <plugin>
16
        <groupId>org.eclipse.tycho</groupId>
17
        <artifactId>tycho-source-plugin</artifactId>
18
      </plugin>
19
      <plugin>
20
        <groupId>org.codehaus.mojo</groupId>
21
        <artifactId>findbugs-maven-plugin</artifactId>
22
      </plugin>
23
      <plugin>
24
        <groupId>org.apache.maven.plugins</groupId>
25
        <artifactId>maven-pmd-plugin</artifactId>
26
      </plugin>
27
    </plugins>
28
  </build>
29
</project>
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/CodeBlock.java (+82 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
13
14
import java.util.regex.Matcher;
15
import java.util.regex.Pattern;
16
17
import org.eclipse.mylyn.wikitext.core.parser.Attributes;
18
import org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.BlockType;
19
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
20
21
/**
22
 * Markdown code block.
23
 * 
24
 * @author Stefan Seelmann
25
 */
26
public class CodeBlock extends Block {
27
28
	private static final Pattern startPattern = Pattern.compile("(?: {4}|\\t)((?: {4}|\\t)*)(.*)"); //$NON-NLS-1$
29
30
	private int blockLineCount = 0;
31
32
	@Override
33
	public boolean canStart(String line, int lineOffset) {
34
		if (lineOffset == 0) {
35
			return startPattern.matcher(line).matches();
36
		} else {
37
			return false;
38
		}
39
	}
40
41
	@Override
42
	protected int processLineContent(String line, int offset) {
43
44
		// start of block
45
		if (blockLineCount == 0) {
46
			builder.beginBlock(BlockType.PREFORMATTED, new Attributes());
47
			builder.beginBlock(BlockType.CODE, new Attributes());
48
		}
49
50
		// extract the content
51
		Matcher matcher = startPattern.matcher(line);
52
		if (!matcher.matches()) {
53
			setClosed(true);
54
			return 0;
55
		}
56
		String intent = matcher.group(1);
57
		String content = matcher.group(2);
58
59
		// next line, does not convert to line break
60
		if (blockLineCount > 0) {
61
			builder.characters("\n"); //$NON-NLS-1$
62
		}
63
64
		// emit, replace intention tabs by 4 spaces, encode ampersands (&) and angle brackets (< and >)
65
		if (intent != null) {
66
			builder.characters(intent.replace("\t", "    ")); //$NON-NLS-1$ //$NON-NLS-2$
67
		}
68
		builder.characters(content);
69
70
		blockLineCount++;
71
		return -1;
72
	}
73
74
	@Override
75
	public void setClosed(boolean closed) {
76
		if (closed && !isClosed()) {
77
			builder.endBlock();
78
			builder.endBlock();
79
		}
80
		super.setClosed(closed);
81
	}
82
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/HeadingBlock.java (+55 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
13
14
import java.util.regex.Matcher;
15
import java.util.regex.Pattern;
16
17
import org.eclipse.mylyn.wikitext.core.parser.Attributes;
18
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
19
20
/**
21
 * Markdown headings.
22
 * 
23
 * @author Stefan Seelmann
24
 */
25
public class HeadingBlock extends Block {
26
27
	private static final Pattern pattern = Pattern.compile("(#{1,6})\\s*(.+?)\\s*(?:#*\\s*)?"); //$NON-NLS-1$
28
29
	private Matcher matcher;
30
31
	@Override
32
	public boolean canStart(String line, int lineOffset) {
33
		if (lineOffset == 0) {
34
			matcher = pattern.matcher(line);
35
			return matcher.matches();
36
		} else {
37
			matcher = null;
38
			return false;
39
		}
40
	}
41
42
	@Override
43
	public int processLineContent(String line, int offset) {
44
		int level = matcher.group(1).length();
45
		String text = matcher.group(2);
46
47
		builder.beginHeading(level, new Attributes());
48
		builder.characters(text);
49
		builder.endHeading();
50
51
		setClosed(true);
52
		return -1;
53
	}
54
55
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/HorizontalRuleBlock.java (+45 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
12
13
import java.util.regex.Matcher;
14
import java.util.regex.Pattern;
15
16
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
17
18
/**
19
 * @author Stefan Seelmann
20
 */
21
public class HorizontalRuleBlock extends Block {
22
23
	private static final Pattern pattern = Pattern.compile("(\\*\\s*){3,}|(-\\s*){3,}|(_\\s*){3,}"); //$NON-NLS-1$
24
25
	private Matcher matcher;
26
27
	@Override
28
	public int processLineContent(String line, int offset) {
29
		builder.charactersUnescaped("<hr/>"); //$NON-NLS-1$
30
		setClosed(true);
31
		return -1;
32
	}
33
34
	@Override
35
	public boolean canStart(String line, int lineOffset) {
36
		if (lineOffset == 0) {
37
			matcher = pattern.matcher(line);
38
			return matcher.matches();
39
		} else {
40
			matcher = null;
41
			return false;
42
		}
43
	}
44
45
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/InlineHtmlBlock.java (+42 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
13
14
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
15
16
/**
17
 * Markdown inline HTML.
18
 * 
19
 * @author Stefan Seelmann
20
 */
21
public class InlineHtmlBlock extends Block {
22
23
   @Override
24
   public boolean canStart(String line, int lineOffset) {
25
       return line.startsWith("<"); //$NON-NLS-1$
26
   }
27
28
   @Override
29
   protected int processLineContent(String line, int offset) {
30
       // empty line: start new block
31
       if (markupLanguage.isEmptyLine(line)) {
32
           setClosed(true);
33
           return 0;
34
       }
35
36
       builder.charactersUnescaped(line);
37
       builder.characters("\n"); //$NON-NLS-1$
38
39
       return -1;
40
   }
41
42
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/ParagraphBlock.java (+65 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
13
14
import org.eclipse.mylyn.wikitext.core.parser.Attributes;
15
import org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.BlockType;
16
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
17
18
/**
19
 * Markdown default paragraph.
20
 * 
21
 * @author Stefan Seelmann
22
 */
23
public class ParagraphBlock extends Block {
24
25
	private int blockLineCount = 0;
26
27
	@Override
28
	public boolean canStart(String line, int lineOffset) {
29
		blockLineCount = 0;
30
		return true;
31
	}
32
33
	@Override
34
	protected int processLineContent(String line, int offset) {
35
		// start of block
36
		if (blockLineCount == 0) {
37
			builder.beginBlock(BlockType.PARAGRAPH, new Attributes());
38
		}
39
40
		// empty line: start new block
41
		if (markupLanguage.isEmptyLine(line)) {
42
			setClosed(true);
43
			return 0;
44
		}
45
46
		// next line, does not convert to line break
47
		if (blockLineCount > 0) {
48
			builder.characters("\n"); //$NON-NLS-1$
49
		}
50
51
		getMarkupLanguage().emitMarkupLine(getParser(), state, line, offset);
52
53
		blockLineCount++;
54
		return -1;
55
	}
56
57
	@Override
58
	public void setClosed(boolean closed) {
59
		if (closed && !isClosed()) {
60
			builder.endBlock();
61
			builder.characters("\n"); //$NON-NLS-1$
62
		}
63
		super.setClosed(closed);
64
	}
65
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/QuoteBlock.java (+104 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
13
14
import java.util.regex.Matcher;
15
import java.util.regex.Pattern;
16
17
import org.eclipse.mylyn.wikitext.core.parser.Attributes;
18
import org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.BlockType;
19
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
20
21
/**
22
 * Markdown blockquote.
23
 * 
24
 * @author Stefan Seelmann
25
 */
26
public class QuoteBlock extends Block {
27
28
	private static final Pattern startPattern = Pattern.compile(">\\s*(.*)"); //$NON-NLS-1$
29
30
	private static final Pattern linePattern = Pattern.compile("(?:>\\s*)?(.*)"); //$NON-NLS-1$
31
32
	private int blockLineCount = 0;
33
34
	private Block nestedBlock = null;
35
36
	@Override
37
	public boolean canStart(String line, int lineOffset) {
38
		if (lineOffset == 0) {
39
			return startPattern.matcher(line).matches();
40
		} else {
41
			return false;
42
		}
43
	}
44
45
	@Override
46
	protected int processLineContent(String line, int offset) {
47
48
		// start of block
49
		if (blockLineCount == 0) {
50
			builder.beginBlock(BlockType.QUOTE, new Attributes());
51
		}
52
53
		// empty line: end of block
54
		if (markupLanguage.isEmptyLine(line)) {
55
			setClosed(true);
56
			return 0;
57
		}
58
59
		// extract the content
60
		Matcher matcher = linePattern.matcher(line);
61
		if (!matcher.matches()) {
62
			setClosed(true);
63
			return 0;
64
		}
65
		String content = matcher.group(1);
66
67
		// determine nested block, at least the paragraph block must match
68
		for (Block block : getMarkupLanguage().getBlocks()) {
69
			if (block.canStart(content, 0)) {
70
				if (nestedBlock != null && nestedBlock.getClass() != block.getClass()) {
71
					nestedBlock.setClosed(true);
72
					nestedBlock = null;
73
				}
74
				if (nestedBlock == null) {
75
					nestedBlock = block.clone();
76
					nestedBlock.setParser(getParser());
77
					nestedBlock.setState(getState());
78
				}
79
				break;
80
			}
81
		}
82
83
		// delegate content processing to nested block
84
		int lineOffset = nestedBlock.processLine(content, 0);
85
		if (nestedBlock.isClosed()) {
86
			nestedBlock = null;
87
		}
88
89
		blockLineCount++;
90
		return -1;
91
	}
92
93
	@Override
94
	public void setClosed(boolean closed) {
95
		if (nestedBlock != null) {
96
			nestedBlock.setClosed(true);
97
			nestedBlock = null;
98
		}
99
		if (closed && !isClosed()) {
100
			builder.endBlock();
101
		}
102
		super.setClosed(closed);
103
	}
104
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/block/UnderlinedHeadingBlock.java (+72 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.block;
13
14
import java.util.regex.Pattern;
15
16
import org.eclipse.mylyn.internal.wikitext.markdown.core.util.LookAheadReader;
17
import org.eclipse.mylyn.internal.wikitext.markdown.core.util.ReadAheadBlock;
18
import org.eclipse.mylyn.wikitext.core.parser.Attributes;
19
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
20
21
/**
22
 * Markdown underlined headings.
23
 * 
24
 * @author Stefan Seelmann
25
 */
26
public class UnderlinedHeadingBlock extends Block implements ReadAheadBlock {
27
28
	private static final Pattern h1pattern = Pattern.compile("=+\\s*"); //$NON-NLS-1$
29
30
	private static final Pattern h2pattern = Pattern.compile("-+\\s*"); //$NON-NLS-1$
31
32
	private int blockLineCount;
33
34
	private int level;
35
36
	public boolean canStart(String line, int lineOffset, LookAheadReader lookAheadReader) {
37
		blockLineCount = 0;
38
		level = 0;
39
		String nextLine = lookAheadReader.lookAhead();
40
		if (nextLine == null) {
41
			return false;
42
		} else if (h1pattern.matcher(nextLine).matches()) {
43
			level = 1;
44
			return true;
45
		} else if (h2pattern.matcher(nextLine).matches()) {
46
			level = 2;
47
			return true;
48
		} else {
49
			return false;
50
		}
51
	}
52
53
	@Override
54
	public boolean canStart(String line, int lineOffset) {
55
		String message = "Read-ahead required, call canStart(String, int, LookAheadReader) instead."; //$NON-NLS-1$
56
		throw new UnsupportedOperationException(message);
57
	}
58
59
	@Override
60
	public int processLineContent(String line, int offset) {
61
		if (blockLineCount == 0) {
62
			builder.beginHeading(level, new Attributes());
63
			builder.characters(line);
64
		} else {
65
			builder.endHeading();
66
			setClosed(true);
67
		}
68
69
		blockLineCount++;
70
		return -1;
71
	}
72
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/phrase/BackslashEscapePhraseModifier.java (+24 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.phrase;
13
14
import java.util.regex.Pattern;
15
16
import org.eclipse.mylyn.wikitext.core.parser.markup.token.PatternLiteralReplacementToken;
17
18
public class BackslashEscapePhraseModifier extends PatternLiteralReplacementToken {
19
20
	public BackslashEscapePhraseModifier(String token) {
21
		super("(" + Pattern.quote("\\" + token) + ")", token); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
22
	}
23
24
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/phrase/SimplePhraseModifier.java (+59 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.phrase;
13
14
import java.util.regex.Pattern;
15
16
import org.eclipse.mylyn.wikitext.core.parser.Attributes;
17
import org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.SpanType;
18
import org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElement;
19
import org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElementProcessor;
20
21
public class SimplePhraseModifier extends PatternBasedElement {
22
23
	private final String delimiter;
24
25
	private final SpanType spanType;
26
27
	public SimplePhraseModifier(String delimiter, SpanType spanType) {
28
		this.delimiter = delimiter;
29
		// ignore
30
		this.spanType = spanType;
31
	}
32
33
	@Override
34
	protected String getPattern(int groupOffset) {
35
		String quotedDelimiter = Pattern.quote(delimiter);
36
		return quotedDelimiter + " *" + "(.+?)" + " *" + quotedDelimiter; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
37
	}
38
39
	@Override
40
	protected int getPatternGroupCount() {
41
		return 1;
42
	}
43
44
	@Override
45
	protected PatternBasedElementProcessor newProcessor() {
46
		return new CodePhraseModifierProcessor();
47
	}
48
49
	private class CodePhraseModifierProcessor extends PatternBasedElementProcessor {
50
51
		@Override
52
		public void emit() {
53
			String content = group(1);
54
			getBuilder().beginSpan(spanType, new Attributes());
55
			getMarkupLanguage().emitMarkupText(parser, state, content);
56
			getBuilder().endSpan();
57
		}
58
	}
59
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/token/PreserverHtmlEntityToken.java (+40 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.token;
13
14
import org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElement;
15
import org.eclipse.mylyn.wikitext.core.parser.markup.PatternBasedElementProcessor;
16
import org.eclipse.mylyn.wikitext.core.parser.markup.phrase.LiteralPhraseModifierProcessor;
17
18
/**
19
 * A phrase modifier that detects HTML and XML entities in the source.
20
 * 
21
 * @author Stefan Seelmann
22
 */
23
public class PreserverHtmlEntityToken extends PatternBasedElement {
24
25
   @Override
26
   protected String getPattern(int groupOffset) {
27
       return "(&[A-Za-z]+;)"; //$NON-NLS-1$
28
   }
29
30
   @Override
31
   protected PatternBasedElementProcessor newProcessor() {
32
       return new LiteralPhraseModifierProcessor(false);
33
   }
34
35
   @Override
36
   protected int getPatternGroupCount() {
37
       return 1;
38
   }
39
40
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/util/DebugUtils.java (+21 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.util;
13
14
public class DebugUtils {
15
16
	public static void debug(String msg, Object... args) {
17
		String formatted = String.format(msg, args);
18
		System.out.println(formatted);
19
	}
20
21
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/util/LookAheadReader.java (+60 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.util;
13
14
import java.io.IOException;
15
import java.io.StringReader;
16
17
import org.eclipse.mylyn.wikitext.core.parser.markup.ContentState;
18
import org.eclipse.mylyn.wikitext.core.util.LocationTrackingReader;
19
20
public class LookAheadReader {
21
22
	private ContentState state;
23
24
	private LocationTrackingReader reader;
25
26
	public void setContentState(ContentState state) {
27
		if (mustInitReader(state)) {
28
			this.state = state;
29
			this.reader = new LocationTrackingReader(new StringReader(state.getMarkupContent()));
30
		}
31
	}
32
33
	private boolean mustInitReader(ContentState newState) {
34
		if (state != newState) {
35
			return true;
36
		}
37
		if (reader == null) {
38
			return true;
39
		}
40
		if (reader.getLineNumber() >= state.getLineNumber()) {
41
			return true;
42
		}
43
		return false;
44
	}
45
46
	public String lookAhead() {
47
		int lineNumber = state.getLineNumber();
48
		String nextLine = null;
49
		while (reader.getLineNumber() < lineNumber) {
50
			try {
51
				nextLine = reader.readLine();
52
			} catch (IOException e) {
53
				throw new RuntimeException(e);
54
			}
55
		}
56
57
		return nextLine;
58
	}
59
60
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/util/ReadAheadBlock.java (+38 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.util;
13
14
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
15
16
/**
17
 * Markup blocks that require additional context in order to decide if they can start with a markup line.
18
 * 
19
 * @author Stefan Seelmann
20
 */
21
public interface ReadAheadBlock extends Cloneable {
22
23
	/**
24
	 * Indicate if the block can start with the given markup line at the provided offset. The
25
	 * <code>lookAheadReader</code> can be used to ask for more context.
26
	 * 
27
	 * @param line
28
	 *            the line of markup to test
29
	 * @param lineOffset
30
	 *            the offset at which the block should start processing
31
	 * @param lookAheadReader
32
	 *            the look ahead reader to ask for more context
33
	 * @return true if the provided markup consists of a valid starting point for the block
34
	 * @see Block#canStart(String, int)
35
	 */
36
	boolean canStart(String line, int lineOffset, LookAheadReader lookAheadReader);
37
38
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/util/ReadAheadDispatcher.java (+103 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.util;
13
14
import org.eclipse.mylyn.wikitext.core.parser.MarkupParser;
15
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
16
import org.eclipse.mylyn.wikitext.core.parser.markup.ContentState;
17
18
/**
19
 * Adapter {@link Block} for {@link ReadAheadBlock}s.
20
 * 
21
 * @author Stefan Seelmann
22
 */
23
public class ReadAheadDispatcher extends Block {
24
25
	private final LookAheadReader lookAheadReader;
26
27
	private Block[] blocks;
28
29
	private Block dispatchedBlock;
30
31
	public ReadAheadDispatcher(Block... blocks) {
32
		this.blocks = blocks;
33
		this.lookAheadReader = new LookAheadReader();
34
	}
35
36
	@Override
37
	public boolean canStart(String line, int lineOffset) {
38
		dispatchedBlock = null;
39
		return true;
40
	}
41
42
	@Override
43
	protected int processLineContent(String line, int offset) {
44
		if (dispatchedBlock == null) {
45
			lookAheadReader.setContentState(getState());
46
			for (Block block : blocks) {
47
				if (block instanceof ReadAheadBlock) {
48
					ReadAheadBlock raBlock = ReadAheadBlock.class.cast(block);
49
					if (raBlock.canStart(line, offset, lookAheadReader)) {
50
						dispatchedBlock = block;
51
						break;
52
					}
53
				} else {
54
					if (block.canStart(line, offset)) {
55
						dispatchedBlock = block;
56
						break;
57
					}
58
				}
59
			}
60
		}
61
62
		int result = dispatchedBlock.processLine(line, offset);
63
		if (dispatchedBlock.isClosed()) {
64
			setClosed(true);
65
		}
66
		return result;
67
	}
68
69
	@Override
70
	public void setClosed(boolean closed) {
71
		dispatchedBlock.setClosed(closed);
72
		super.setClosed(closed);
73
	}
74
75
	@Override
76
	public void setState(ContentState state) {
77
		for (Block block : blocks) {
78
			block.setState(state);
79
		}
80
		super.setState(state);
81
	}
82
83
	@Override
84
	public void setParser(MarkupParser parser) {
85
		for (Block block : blocks) {
86
			block.setParser(parser);
87
		}
88
		super.setParser(parser);
89
	}
90
91
	@Override
92
	public Block clone() {
93
		ReadAheadDispatcher clone = (ReadAheadDispatcher) super.clone();
94
		Block[] clonedBlocks = new Block[blocks.length];
95
		int i = 0;
96
		for (Block block : blocks) {
97
			clonedBlocks[i++] = block.clone();
98
		}
99
		clone.blocks = clonedBlocks;
100
		return clone;
101
	}
102
103
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/internal/wikitext/markdown/core/validation/MarkdownReferenceValidationRule.java (+28 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.core.validation;
13
14
import org.eclipse.mylyn.wikitext.core.validation.ValidationProblem;
15
import org.eclipse.mylyn.wikitext.core.validation.ValidationRule;
16
17
public class MarkdownReferenceValidationRule extends ValidationRule {
18
19
	public MarkdownReferenceValidationRule() {
20
	}
21
22
	@Override
23
	public ValidationProblem findProblem(String markup, int offset, int length) {
24
		// TODO: implement
25
		return null;
26
	}
27
28
}
(-)a/org.eclipse.mylyn.wikitext.markdown.core/src/org/eclipse/mylyn/wikitext/markdown/core/MarkdownLanguage.java (+103 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.wikitext.markdown.core;
13
14
import java.util.List;
15
16
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.CodeBlock;
17
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.HeadingBlock;
18
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.HorizontalRuleBlock;
19
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.InlineHtmlBlock;
20
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.ParagraphBlock;
21
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.QuoteBlock;
22
import org.eclipse.mylyn.internal.wikitext.markdown.core.block.UnderlinedHeadingBlock;
23
import org.eclipse.mylyn.internal.wikitext.markdown.core.phrase.BackslashEscapePhraseModifier;
24
import org.eclipse.mylyn.internal.wikitext.markdown.core.phrase.SimplePhraseModifier;
25
import org.eclipse.mylyn.internal.wikitext.markdown.core.token.PreserverHtmlEntityToken;
26
import org.eclipse.mylyn.internal.wikitext.markdown.core.util.ReadAheadDispatcher;
27
import org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.SpanType;
28
import org.eclipse.mylyn.wikitext.core.parser.markup.AbstractMarkupLanguage;
29
import org.eclipse.mylyn.wikitext.core.parser.markup.Block;
30
import org.eclipse.mylyn.wikitext.core.parser.markup.phrase.HtmlEndTagPhraseModifier;
31
import org.eclipse.mylyn.wikitext.core.parser.markup.phrase.HtmlStartTagPhraseModifier;
32
import org.eclipse.mylyn.wikitext.core.parser.markup.token.PatternLineBreakReplacementToken;
33
34
/**
35
 * A markup language implementing Markdown syntax. http://daringfireball.net/projects/markdown/syntax
36
 * 
37
 * @author Stefan Seelmann
38
 * @since 1.8
39
 */
40
public class MarkdownLanguage extends AbstractMarkupLanguage {
41
42
	public MarkdownLanguage() {
43
		setName("Markdown"); //$NON-NLS-1$
44
	}
45
46
	@Override
47
	protected void addStandardTokens(PatternBasedSyntax tokenSyntax) {
48
		// HTML entities are preserved
49
		tokenSyntax.add(new PreserverHtmlEntityToken());
50
		// two or more spaces at end of line force a line break
51
		tokenSyntax.add(new PatternLineBreakReplacementToken("( {2,})$")); //$NON-NLS-1$
52
	}
53
54
	@Override
55
	protected void addStandardPhraseModifiers(PatternBasedSyntax phraseModifierSyntax) {
56
		// inline HTML
57
		phraseModifierSyntax.add(new HtmlEndTagPhraseModifier());
58
		phraseModifierSyntax.add(new HtmlStartTagPhraseModifier());
59
		// backslash escaped span elements
60
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("**")); //$NON-NLS-1$ 
61
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("__")); //$NON-NLS-1$ 
62
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("*")); //$NON-NLS-1$ 
63
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("_")); //$NON-NLS-1$ 
64
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("\\")); //$NON-NLS-1$ 
65
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("`")); //$NON-NLS-1$ 
66
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("{")); //$NON-NLS-1$ 
67
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("}")); //$NON-NLS-1$ 
68
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("[")); //$NON-NLS-1$ 
69
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("]")); //$NON-NLS-1$ 
70
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("(")); //$NON-NLS-1$ 
71
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier(")")); //$NON-NLS-1$ 
72
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("#")); //$NON-NLS-1$ 
73
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("+")); //$NON-NLS-1$ 
74
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("-")); //$NON-NLS-1$ 
75
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier(".")); //$NON-NLS-1$ 
76
		phraseModifierSyntax.add(new BackslashEscapePhraseModifier("!")); //$NON-NLS-1$ 
77
		// emphasis span elements
78
		phraseModifierSyntax.add(new SimplePhraseModifier("``", SpanType.CODE)); //$NON-NLS-1$
79
		phraseModifierSyntax.add(new SimplePhraseModifier("`", SpanType.CODE)); //$NON-NLS-1$
80
		phraseModifierSyntax.add(new SimplePhraseModifier("**", SpanType.STRONG)); //$NON-NLS-1$
81
		phraseModifierSyntax.add(new SimplePhraseModifier("__", SpanType.STRONG)); //$NON-NLS-1$
82
		phraseModifierSyntax.add(new SimplePhraseModifier("*", SpanType.EMPHASIS)); //$NON-NLS-1$
83
		phraseModifierSyntax.add(new SimplePhraseModifier("_", SpanType.EMPHASIS)); //$NON-NLS-1$
84
	}
85
86
	@Override
87
	protected void addStandardBlocks(List<Block> blocks, List<Block> paragraphBreakingBlocks) {
88
		blocks.add(new CodeBlock());
89
		blocks.add(new HorizontalRuleBlock());
90
		blocks.add(new HeadingBlock());
91
		blocks.add(new InlineHtmlBlock());
92
		blocks.add(new QuoteBlock());
93
	}
94
95
	@Override
96
	protected Block createParagraphBlock() {
97
		ParagraphBlock paragraphBlock = new ParagraphBlock();
98
		UnderlinedHeadingBlock headingBlock = new UnderlinedHeadingBlock();
99
		ReadAheadDispatcher readAheadBlock = new ReadAheadDispatcher(headingBlock, paragraphBlock);
100
		return readAheadBlock;
101
	}
102
103
}
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.classpath (+12 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
5
		<accessrules>
6
			<accessrule kind="accessible" pattern="**/internal/**"/>
7
			<accessrule kind="accessible" pattern="org/eclipse/mylyn/wikitext/**"/>
8
		</accessrules>
9
	</classpathentry>
10
	<classpathentry kind="src" path="src"/>
11
	<classpathentry kind="output" path="bin"/>
12
</classpath>
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.project (+34 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.eclipse.mylyn.wikitext.markdown.tests</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
		<buildCommand>
24
			<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
25
			<arguments>
26
			</arguments>
27
		</buildCommand>
28
	</buildSpec>
29
	<natures>
30
		<nature>org.eclipse.pde.PluginNature</nature>
31
		<nature>org.eclipse.jdt.core.javanature</nature>
32
		<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
33
	</natures>
34
</projectDescription>
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.core.runtime.prefs (+2 lines)
Added Link Here
1
eclipse.preferences.version=1
2
line.separator=\n
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.jdt.core.prefs (+359 lines)
Added Link Here
1
#Mon Oct 31 14:02:54 PDT 2011
2
eclipse.preferences.version=1
3
org.eclipse.jdt.core.codeComplete.argumentPrefixes=
4
org.eclipse.jdt.core.codeComplete.argumentSuffixes=
5
org.eclipse.jdt.core.codeComplete.fieldPrefixes=
6
org.eclipse.jdt.core.codeComplete.fieldSuffixes=
7
org.eclipse.jdt.core.codeComplete.localPrefixes=
8
org.eclipse.jdt.core.codeComplete.localSuffixes=
9
org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
10
org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
11
org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
12
org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
13
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
14
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
15
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
16
org.eclipse.jdt.core.compiler.compliance=1.5
17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
18
org.eclipse.jdt.core.compiler.debug.localVariable=generate
19
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
20
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
21
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
22
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
23
org.eclipse.jdt.core.compiler.problem.deprecation=warning
24
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
25
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
26
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
27
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
28
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
29
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
30
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
31
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
32
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
33
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
34
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
35
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
36
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
37
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
38
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
39
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
40
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
41
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
42
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
43
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
44
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
45
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
46
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
47
org.eclipse.jdt.core.compiler.problem.nullReference=error
48
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
49
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
50
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
51
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
52
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
53
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
54
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
55
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
56
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
57
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
58
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
59
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
60
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
61
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
62
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
63
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
64
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
65
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
66
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
67
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
68
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
69
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
70
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
71
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
72
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
73
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
74
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
75
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
76
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
77
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
78
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
79
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
80
org.eclipse.jdt.core.compiler.source=1.5
81
org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
82
org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
83
org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
84
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
85
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
86
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
87
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
88
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
89
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
90
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
91
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
92
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
93
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
94
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
95
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
96
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
97
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
98
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
99
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
100
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
101
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
102
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
103
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
104
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
105
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
106
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
107
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
108
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
109
org.eclipse.jdt.core.formatter.blank_lines_before_field=1
110
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
111
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
112
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
113
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
114
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
115
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
116
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
117
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
118
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
119
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
120
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
121
org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
122
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
123
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
124
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
125
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
126
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
127
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
128
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
129
org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
130
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
131
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
132
org.eclipse.jdt.core.formatter.comment.format_block_comments=false
133
org.eclipse.jdt.core.formatter.comment.format_comments=true
134
org.eclipse.jdt.core.formatter.comment.format_header=false
135
org.eclipse.jdt.core.formatter.comment.format_html=true
136
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
137
org.eclipse.jdt.core.formatter.comment.format_line_comments=false
138
org.eclipse.jdt.core.formatter.comment.format_source_code=true
139
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
140
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
141
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
142
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
143
org.eclipse.jdt.core.formatter.comment.line_length=120
144
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
145
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
146
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
147
org.eclipse.jdt.core.formatter.compact_else_if=true
148
org.eclipse.jdt.core.formatter.continuation_indentation=2
149
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
150
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
151
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
152
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
153
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
154
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
155
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
156
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
157
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
158
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
159
org.eclipse.jdt.core.formatter.indent_empty_lines=false
160
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
161
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
162
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
163
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
164
org.eclipse.jdt.core.formatter.indentation.size=4
165
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
166
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
167
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
168
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
169
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
170
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
171
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=insert
172
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
173
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
174
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
175
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
176
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
177
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
178
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
179
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
180
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
181
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
182
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
183
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
184
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
185
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
186
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
187
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
188
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
189
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
190
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
191
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
192
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
193
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
194
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
195
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
196
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
197
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
198
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
199
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
200
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
201
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
202
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
203
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
204
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
205
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
206
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
207
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
208
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
209
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
210
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
211
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
212
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
213
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
214
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
215
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
216
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
217
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
218
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
219
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
220
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
221
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
222
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
223
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
224
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
225
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
226
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
227
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
228
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
229
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
230
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
231
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
232
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
233
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
234
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
235
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
236
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
237
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
238
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
239
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
240
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
241
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
242
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
243
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
244
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
245
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
246
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
247
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
248
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
249
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
250
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
251
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
252
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
253
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
254
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
255
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
256
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
257
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
258
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
259
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
260
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
261
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
262
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
263
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
264
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
265
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
266
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
267
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
268
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
269
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
270
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
271
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
272
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
273
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
274
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
275
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
276
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
277
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
278
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
279
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
280
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
281
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
282
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
283
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
284
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
285
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
286
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
287
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
288
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
289
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
290
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
291
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
292
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
293
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
294
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
295
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
296
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
297
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
298
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
299
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
300
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
301
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
302
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
303
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
304
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
305
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
306
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
307
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
308
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
309
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
310
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
311
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
312
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
313
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
314
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
315
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
316
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
317
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
318
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
319
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
320
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
321
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
322
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
323
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
324
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
325
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
326
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
327
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
328
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
329
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
330
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
331
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
332
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
333
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
334
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
335
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
336
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
337
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
338
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
339
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
340
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
341
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
342
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
343
org.eclipse.jdt.core.formatter.join_wrapped_lines=true
344
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
345
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
346
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
347
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
348
org.eclipse.jdt.core.formatter.lineSplit=120
349
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
350
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
351
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
352
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
353
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
354
org.eclipse.jdt.core.formatter.tabulation.char=tab
355
org.eclipse.jdt.core.formatter.tabulation.size=4
356
org.eclipse.jdt.core.formatter.use_on_off_tags=false
357
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
358
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
359
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.jdt.ui.prefs (+64 lines)
Added Link Here
1
#Wed Mar 02 16:00:08 PST 2011
2
cleanup_settings_version=2
3
eclipse.preferences.version=1
4
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
5
formatter_profile=_Mylyn based on Eclipse
6
formatter_settings_version=12
7
internal.default.compliance=default
8
org.eclipse.jdt.ui.exception.name=e
9
org.eclipse.jdt.ui.gettersetter.use.is=true
10
org.eclipse.jdt.ui.javadoc=false
11
org.eclipse.jdt.ui.keywordthis=false
12
org.eclipse.jdt.ui.overrideannotation=true
13
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"></template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\n * Copyright (c) 2007, 2008 David Green and others.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n *     David Green - initial API and implementation\n *******************************************************************************/\n\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
14
sp_cleanup.add_default_serial_version_id=true
15
sp_cleanup.add_generated_serial_version_id=false
16
sp_cleanup.add_missing_annotations=true
17
sp_cleanup.add_missing_deprecated_annotations=true
18
sp_cleanup.add_missing_methods=false
19
sp_cleanup.add_missing_nls_tags=false
20
sp_cleanup.add_missing_override_annotations=true
21
sp_cleanup.add_serial_version_id=false
22
sp_cleanup.always_use_blocks=true
23
sp_cleanup.always_use_parentheses_in_expressions=false
24
sp_cleanup.always_use_this_for_non_static_field_access=false
25
sp_cleanup.always_use_this_for_non_static_method_access=false
26
sp_cleanup.convert_to_enhanced_for_loop=true
27
sp_cleanup.correct_indentation=true
28
sp_cleanup.format_source_code=true
29
sp_cleanup.format_source_code_changes_only=false
30
sp_cleanup.make_local_variable_final=false
31
sp_cleanup.make_parameters_final=false
32
sp_cleanup.make_private_fields_final=true
33
sp_cleanup.make_type_abstract_if_missing_method=false
34
sp_cleanup.make_variable_declarations_final=true
35
sp_cleanup.never_use_blocks=false
36
sp_cleanup.never_use_parentheses_in_expressions=true
37
sp_cleanup.on_save_use_additional_actions=true
38
sp_cleanup.organize_imports=true
39
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
40
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
41
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
42
sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
43
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
44
sp_cleanup.remove_private_constructors=true
45
sp_cleanup.remove_trailing_whitespaces=true
46
sp_cleanup.remove_trailing_whitespaces_all=true
47
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
48
sp_cleanup.remove_unnecessary_casts=true
49
sp_cleanup.remove_unnecessary_nls_tags=true
50
sp_cleanup.remove_unused_imports=false
51
sp_cleanup.remove_unused_local_variables=false
52
sp_cleanup.remove_unused_private_fields=true
53
sp_cleanup.remove_unused_private_members=false
54
sp_cleanup.remove_unused_private_methods=true
55
sp_cleanup.remove_unused_private_types=true
56
sp_cleanup.sort_members=false
57
sp_cleanup.sort_members_all=false
58
sp_cleanup.use_blocks=true
59
sp_cleanup.use_blocks_only_for_return_and_throw=false
60
sp_cleanup.use_parentheses_in_expressions=false
61
sp_cleanup.use_this_for_non_static_field_access=false
62
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
63
sp_cleanup.use_this_for_non_static_method_access=false
64
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.ltk.core.refactoring.prefs (+3 lines)
Added Link Here
1
#Tue Aug 18 22:42:26 PDT 2009
2
eclipse.preferences.version=1
3
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs (+4 lines)
Added Link Here
1
#Thu Jul 31 11:06:52 PDT 2008
2
eclipse.preferences.version=1
3
project.repository.kind=bugzilla
4
project.repository.url=https\://bugs.eclipse.org/bugs
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.mylyn.team.ui.prefs (+2 lines)
Added Link Here
1
commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
2
eclipse.preferences.version=1
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/.settings/org.eclipse.pde.prefs (+18 lines)
Added Link Here
1
#Tue Apr 15 11:07:59 PDT 2008
2
compilers.incompatible-environment=1
3
compilers.p.build=1
4
compilers.p.deprecated=1
5
compilers.p.discouraged-class=2
6
compilers.p.missing-bundle-classpath-entries=1
7
compilers.p.missing-packages=1
8
compilers.p.no-required-att=0
9
compilers.p.not-externalized-att=2
10
compilers.p.unknown-attribute=0
11
compilers.p.unknown-class=0
12
compilers.p.unknown-element=0
13
compilers.p.unknown-identifier=1
14
compilers.p.unknown-resource=0
15
compilers.p.unresolved-ex-points=0
16
compilers.p.unresolved-import=0
17
compilers.use-project=true
18
eclipse.preferences.version=1
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/META-INF/MANIFEST.MF (+29 lines)
Added Link Here
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %Bundle-Name.0
4
Bundle-SymbolicName: org.eclipse.mylyn.wikitext.markdown.tests;singleton:=true
5
Bundle-Version: 1.8.0.qualifier
6
Bundle-Vendor: %Bundle-Vendor.0
7
Bundle-RequiredExecutionEnvironment: J2SE-1.5
8
Require-Bundle: org.junit;bundle-version="3.8.2",
9
 org.eclipse.mylyn.wikitext.core;bundle-version="1.5.0",
10
 org.eclipse.mylyn.wikitext.ui;bundle-version="1.5.0",
11
 org.eclipse.mylyn.wikitext.tasks.ui;bundle-version="1.5.0",
12
 org.eclipse.ui,
13
 org.eclipse.ui.editors,
14
 org.eclipse.core.runtime,
15
 org.eclipse.ui.workbench.texteditor,
16
 org.eclipse.ui.views,
17
 org.eclipse.ui.ide,
18
 org.eclipse.mylyn.tasks.ui;bundle-version="[3.0.2,4.0.0)",
19
 org.eclipse.mylyn.tasks.core;bundle-version="[3.0.2,4.0.0)",
20
 org.eclipse.jface.text,
21
 org.eclipse.core.expressions,
22
 org.eclipse.core.resources,
23
 org.eclipse.help,
24
 org.apache.ant,
25
 org.eclipse.mylyn.wikitext.markdown.core;bundle-version="1.6.0",
26
 org.eclipse.mylyn.wikitext.tests;bundle-version="1.6.0"
27
Export-Package: 
28
 org.eclipse.mylyn.internal.wikitext.markdown.tests;x-internal:=true
29
Bundle-Localization: plugin
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/about.html (+28 lines)
Added Link Here
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
<html>
3
<head>
4
<title>About</title>
5
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
6
</head>
7
<body lang="EN-US">
8
<h2>About This Content</h2>
9
 
10
<p>July 3, 2008</p>	
11
<h3>License</h3>
12
13
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
14
indicated below, the Content is provided to you under the terms and conditions of the
15
Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
16
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
17
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
18
19
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
20
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
21
apply to your use of any object code in the Content.  Check the Redistributor's license that was 
22
provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
23
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
24
and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
25
26
27
</body>
28
</html>
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/build.properties (+17 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2007, 2008 David Green and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     David Green - initial API and implementation
10
###############################################################################
11
source.. = src/
12
output.. = bin/
13
bin.includes = META-INF/,\
14
               .,\
15
               plugin.properties,\
16
               about.html
17
src.includes = about.html
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/plugin.properties (+14 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2007, 2009 Mylyn project committers and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     David Green - initial API and implementation
10
###############################################################################
11
12
#Properties file for org.eclipse.mylyn.wikitext.tests
13
Bundle-Vendor.0 = Eclipse Mylyn
14
Bundle-Name.0 = Mylyn WikiText Tests Plug-in
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/pom.xml (+31 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
  <modelVersion>4.0.0</modelVersion>
5
  <parent>
6
    <artifactId>org.eclipse.mylyn.docs-parent</artifactId>
7
    <groupId>org.eclipse.mylyn.docs</groupId>
8
    <version>1.8.0-SNAPSHOT</version>
9
  </parent>
10
  <artifactId>org.eclipse.mylyn.wikitext.markdown.tests</artifactId>
11
  <version>1.8.0-SNAPSHOT</version>
12
  <packaging>eclipse-test-plugin</packaging>
13
  <build>
14
    <plugins>
15
      <plugin>
16
        <groupId>org.eclipse.tycho</groupId>
17
        <artifactId>tycho-surefire-plugin</artifactId>
18
        <version>${tycho-version}</version>
19
        <configuration>
20
          <excludes>
21
            <exclude>**/Test*.class</exclude>
22
          </excludes>
23
        </configuration>
24
      </plugin>
25
      <plugin>
26
        <groupId>org.eclipse.tycho</groupId>
27
        <artifactId>tycho-source-plugin</artifactId>
28
      </plugin>
29
    </plugins>
30
  </build>
31
</project>
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/src/org/eclipse/mylyn/internal/wikitext/markdown/tests/MarkdownLanguageBlockElementsTest.java (+266 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.tests;
13
14
import static org.eclipse.mylyn.internal.wikitext.markdown.tests.MarkdownLanguageTest.content;
15
import junit.framework.TestCase;
16
17
import org.eclipse.mylyn.wikitext.core.parser.MarkupParser;
18
import org.eclipse.mylyn.wikitext.markdown.core.MarkdownLanguage;
19
import org.eclipse.mylyn.wikitext.tests.TestUtil;
20
21
/**
22
 * Tests for Markdown block elements. Follows specification at
23
 * <a>http://daringfireball.net/projects/markdown/syntax#block</a>.
24
 * 
25
 * @author Stefan Seelmann
26
 */
27
public class MarkdownLanguageBlockElementsTest extends TestCase {
28
29
	private MarkupParser parser;
30
31
	@Override
32
	public void setUp() throws Exception {
33
		super.setUp();
34
		parser = new MarkupParser(new MarkdownLanguage());
35
	}
36
37
	/*
38
	 * Paragraphs and Line Breaks. A paragraph is simply one or more consecutive lines of text, separated by one or more
39
	 * blank lines. (A blank line is any line that looks like a blank line — a line containing nothing but spaces or
40
	 * tabs is considered blank.) Normal paragraphs should not be indented with spaces or tabs.
41
	 */
42
	public void testParagraphWithOneLine() {
43
		String html = parser.parseToHtml("a paragraph");
44
		TestUtil.println("HTML: " + content(html));
45
		assertEquals("<p>a paragraph</p>\n", content(html));
46
	}
47
48
	public void testParagraphWithMulitpleLines() {
49
		String html = parser.parseToHtml("a paragraph\nwith multiple\nlines");
50
		TestUtil.println("HTML: " + content(html));
51
		assertEquals("<p>a paragraph\nwith multiple\nlines</p>\n", content(html));
52
	}
53
54
	public void testParagraphsSeparatedBySingleBlankLine() {
55
		String html = parser.parseToHtml("a paragraph\n\nanother paragraph\n\n");
56
		TestUtil.println("HTML: " + content(html));
57
		assertEquals("<p>a paragraph</p>\n<p>another paragraph</p>\n", content(html));
58
	}
59
60
	public void testParagraphsSeparatedByMulitpleBlankLines() {
61
		String html = parser.parseToHtml("a paragraph\n\n\nanother paragraph\n\n\n");
62
		TestUtil.println("HTML: " + content(html));
63
		assertEquals("<p>a paragraph</p>\n<p>another paragraph</p>\n", content(html));
64
	}
65
66
	public void testParagraphsSeparatedByMulitpleBlankLinesWithSpacesAndTabs() {
67
		String html = parser.parseToHtml("a paragraph\n \n\t\nanother paragraph");
68
		TestUtil.println("HTML: " + content(html));
69
		assertEquals("<p>a paragraph</p>\n<p>another paragraph</p>\n", content(html));
70
	}
71
72
	/*
73
	 * When you do want to insert a <br />
74
	 * break tag using Markdown, you end a line with two or more spaces, then type return.
75
	 */
76
	public void testLineBreakInParagraph() {
77
		String html = parser.parseToHtml("line  1  \nline  2    \nline  3");
78
		TestUtil.println("HTML: " + content(html));
79
		assertEquals("<p>line  1<br/>\nline  2<br/>\nline  3</p>\n", content(html));
80
	}
81
82
	/*
83
	 * Headers. Atx-style headers use 1-6 hash characters at the start of the line, corresponding to header levels 1-6.
84
	 */
85
	public void testAtxStyleHeader() {
86
		String h1 = parser.parseToHtml("# This is an H1");
87
		TestUtil.println("HTML: " + content(h1));
88
		assertEquals("<h1>This is an H1</h1>", content(h1));
89
		String h2 = parser.parseToHtml("## This is an H2");
90
		TestUtil.println("HTML: " + content(h2));
91
		assertEquals("<h2>This is an H2</h2>", content(h2));
92
		String h3 = parser.parseToHtml("### This is an H3");
93
		TestUtil.println("HTML: " + content(h3));
94
		assertEquals("<h3>This is an H3</h3>", content(h3));
95
		String h4 = parser.parseToHtml("#### This is an H4");
96
		TestUtil.println("HTML: " + content(h4));
97
		assertEquals("<h4>This is an H4</h4>", content(h4));
98
		String h5 = parser.parseToHtml("##### This is an H5");
99
		TestUtil.println("HTML: " + content(h5));
100
		assertEquals("<h5>This is an H5</h5>", content(h5));
101
		String h6 = parser.parseToHtml("###### This is an H6");
102
		TestUtil.println("HTML: " + content(h6));
103
		assertEquals("<h6>This is an H6</h6>", content(h6));
104
	}
105
106
	/*
107
	 * Optionally, you may "close" atx-style headers. This is purely cosmetic - you can use this if you think it looks
108
	 * better. The closing hashes don't even need to match the number of hashes used to open the header. (The number of
109
	 * opening hashes determines the header level.)
110
	 */
111
	public void testClosedAtxStyleHeader() {
112
		String h1 = parser.parseToHtml("# This is an H1 #");
113
		TestUtil.println("HTML: " + content(h1));
114
		assertEquals("<h1>This is an H1</h1>", content(h1));
115
		String h2 = parser.parseToHtml("## This is an H2 ##");
116
		TestUtil.println("HTML: " + content(h2));
117
		assertEquals("<h2>This is an H2</h2>", content(h2));
118
		String h3 = parser.parseToHtml("### This is an H3 ###");
119
		TestUtil.println("HTML: " + content(h3));
120
		assertEquals("<h3>This is an H3</h3>", content(h3));
121
		String h4 = parser.parseToHtml("#### This is an H4 ####");
122
		TestUtil.println("HTML: " + content(h4));
123
		assertEquals("<h4>This is an H4</h4>", content(h4));
124
		String h5 = parser.parseToHtml("##### This is an H5 #####");
125
		TestUtil.println("HTML: " + content(h5));
126
		assertEquals("<h5>This is an H5</h5>", content(h5));
127
		String h6 = parser.parseToHtml("###### This is an H6 ######");
128
		TestUtil.println("HTML: " + content(h6));
129
		assertEquals("<h6>This is an H6</h6>", content(h6));
130
131
		String h1_ = parser.parseToHtml("# This is an H1 ################################");
132
		TestUtil.println("HTML: " + content(h1_));
133
		assertEquals("<h1>This is an H1</h1>", content(h1_));
134
		String h6_ = parser.parseToHtml("###### This is an H6 #");
135
		TestUtil.println("HTML: " + content(h6_));
136
		assertEquals("<h6>This is an H6</h6>", content(h6_));
137
	}
138
139
	/*
140
	 * Setext-style headers are "underlined" using equal signs (for first-level headers) and dashes (for second-level
141
	 * headers). Any number of underlining ='s or -'s will work.
142
	 */
143
	public void testUnderlindedHeader() {
144
		String h1 = parser.parseToHtml("This is an H1\n============");
145
		TestUtil.println("HTML: " + content(h1));
146
		assertEquals("<h1>This is an H1</h1>", content(h1));
147
		String h2 = parser.parseToHtml("This is an H2\n------------");
148
		TestUtil.println("HTML: " + content(h2));
149
		assertEquals("<h2>This is an H2</h2>", content(h2));
150
		String h1_ = parser.parseToHtml("This is an H1\n= ");
151
		TestUtil.println("HTML: " + content(h1_));
152
		assertEquals("<h1>This is an H1</h1>", content(h1_));
153
		String h2_ = parser.parseToHtml("This is an H2\n- ");
154
		TestUtil.println("HTML: " + content(h2_));
155
		assertEquals("<h2>This is an H2</h2>", content(h2_));
156
	}
157
158
	/*
159
	 * Blockquotes. Markdown uses email-style > characters for blockquoting. It looks best if you hard wrap the text and
160
	 * put a > before every line.
161
	 */
162
	public void testBlockquoteWithQuoteCharInEachLine() {
163
		String h1 = parser.parseToHtml("> Lorem ipsum dolor sit amet, \n>  consetetur adipisici elit.\n");
164
		TestUtil.println("HTML: " + content(h1));
165
		assertEquals("<blockquote><p>Lorem ipsum dolor sit amet, \nconsetetur adipisici elit.</p>\n</blockquote>",
166
				content(h1));
167
	}
168
169
	/*
170
	 * Markdown allows you to be lazy and only put the > before the first line of a hard-wrapped paragraph.
171
	 */
172
	public void testBlockquoteWithSingleQuoteChar() {
173
		String h1 = parser.parseToHtml("> Lorem ipsum dolor sit amet, \nconsetetur adipisici elit.\n");
174
		TestUtil.println("HTML: " + content(h1));
175
		assertEquals("<blockquote><p>Lorem ipsum dolor sit amet, \nconsetetur adipisici elit.</p>\n</blockquote>",
176
				content(h1));
177
	}
178
179
	/*
180
	 * Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by adding additional levels of >.
181
	 */
182
	public void testNestedBlockquotes() {
183
		String h1 = parser.parseToHtml(">A1\n>>B1\n>A2\n");
184
		TestUtil.println("HTML: " + content(h1));
185
		assertEquals("<blockquote><p>A1</p>\n<blockquote><p>B1</p>\n</blockquote><p>A2</p>\n</blockquote>", content(h1));
186
	}
187
188
	/*
189
	 * Blockquotes can contain other Markdown elements, including headers, lists, and code blocks.
190
	 */
191
	public void testBlockquotesWithOtherElements() {
192
		String h1 = parser.parseToHtml(">#H1");
193
		TestUtil.println("HTML: " + content(h1));
194
		assertEquals("<blockquote><h1>H1</h1></blockquote>", content(h1));
195
	}
196
197
	/*
198
	 * Markdown wraps a code block in both pre and code tags. To produce a code block in Markdown, simply indent every
199
	 * line of the block by at least 4 spaces or 1 tab.
200
	 */
201
	public void testCodeBlock() {
202
		String codeBlockIntentedByFourSpaces = parser.parseToHtml("    This is a code block.");
203
		TestUtil.println("HTML: " + content(codeBlockIntentedByFourSpaces));
204
		assertEquals("<pre><code>This is a code block.</code></pre>", content(codeBlockIntentedByFourSpaces));
205
		String codeBlockIntentedByOneTab = parser.parseToHtml("\tThis is a code block.");
206
		TestUtil.println("HTML: " + content(codeBlockIntentedByOneTab));
207
		assertEquals("<pre><code>This is a code block.</code></pre>", content(codeBlockIntentedByOneTab));
208
	}
209
210
	/*
211
	 * One level of indentation — 4 spaces or 1 tab — is removed from each line of the code block. 
212
	 */
213
	public void testCodeBlockMultiLine() {
214
		String codeBlockIntentedByFourSpaces = parser.parseToHtml("    aaa\n        bbb\n            ccc\n    \n    continue after empty line");
215
		TestUtil.println("HTML: " + content(codeBlockIntentedByFourSpaces));
216
		String expectedHtml = "<pre><code>aaa\n    bbb\n        ccc\n\ncontinue after empty line</code></pre>";
217
		assertEquals(expectedHtml, content(codeBlockIntentedByFourSpaces));
218
		String codeBlockIntentedByOneTab = parser.parseToHtml("\taaa\n\t\tbbb\n\t\t\tccc\n\t\n\tcontinue after empty line");
219
		TestUtil.println("HTML: " + content(codeBlockIntentedByOneTab));
220
		assertEquals(expectedHtml, content(codeBlockIntentedByOneTab));
221
	}
222
223
	/*
224
	 * Within a code block, ampersands (&) and angle brackets (< and >) are automatically converted into HTML entities.
225
	 */
226
	public void testSpecialCharactersAreConvertedInCodeBlock() {
227
		String html = parser.parseToHtml("    <div class=\"footer\">\n    &copy; 2004 Foo Bar\n    </div>");
228
		TestUtil.println("HTML: " + content(html));
229
		assertEquals("<pre><code>&lt;div class=\"footer\"&gt;\n&amp;copy; 2004 Foo Bar\n&lt;/div&gt;</code></pre>",
230
				content(html));
231
	}
232
233
	/*
234
	 * Regular Markdown syntax is not processed within code blocks.
235
	 */
236
	public void testNoProcessingInCodeBlock() {
237
		String html = parser.parseToHtml("    ### Header 3\n    Lorem *ipsum*");
238
		TestUtil.println("HTML: " + content(html));
239
		assertEquals("<pre><code>### Header 3\nLorem *ipsum*</code></pre>", content(html));
240
	}
241
242
	/*
243
	 * Horizontal Rules. You can produce a horizontal rule tag ( hr/ ) by placing three or more hyphens, asterisks, or
244
	 * underscores on a line by themselves. If you wish, you may use spaces between the hyphens or asterisks.
245
	 */
246
	public void testHorizontalRules() {
247
		String html1 = parser.parseToHtml("* * *");
248
		TestUtil.println("HTML: " + content(html1));
249
		assertEquals("<hr/>", content(html1));
250
		String html2 = parser.parseToHtml("***");
251
		TestUtil.println("HTML: " + content(html2));
252
		assertEquals("<hr/>", content(html2));
253
		String html3 = parser.parseToHtml("*****");
254
		TestUtil.println("HTML: " + content(html3));
255
		assertEquals("<hr/>", content(html3));
256
		String html4 = parser.parseToHtml("- - -");
257
		TestUtil.println("HTML: " + content(html4));
258
		assertEquals("<hr/>", content(html4));
259
		String html5 = parser.parseToHtml("---------------------------------------");
260
		TestUtil.println("HTML: " + content(html5));
261
		assertEquals("<hr/>", content(html5));
262
		String html6 = parser.parseToHtml("___");
263
		TestUtil.println("HTML: " + content(html6));
264
		assertEquals("<hr/>", content(html6));
265
	}
266
}
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/src/org/eclipse/mylyn/internal/wikitext/markdown/tests/MarkdownLanguageMiscellaneousTest.java (+142 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.tests;
13
14
import static org.eclipse.mylyn.internal.wikitext.markdown.tests.MarkdownLanguageTest.content;
15
import junit.framework.TestCase;
16
17
import org.eclipse.mylyn.wikitext.core.parser.MarkupParser;
18
import org.eclipse.mylyn.wikitext.markdown.core.MarkdownLanguage;
19
import org.eclipse.mylyn.wikitext.tests.TestUtil;
20
21
/**
22
 * Tests for Markdown overview and miscellaneous. Follows specification at
23
 * <a>http://daringfireball.net/projects/markdown/syntax#overview</a>.
24
 * <a>http://daringfireball.net/projects/markdown/syntax#misc</a>.
25
 * 
26
 * @author Stefan Seelmann
27
 */
28
public class MarkdownLanguageMiscellaneousTest extends TestCase {
29
30
	private MarkupParser parser;
31
32
	@Override
33
	public void setUp() throws Exception {
34
		super.setUp();
35
		parser = new MarkupParser(new MarkdownLanguage());
36
	}
37
38
	public void testEmptyLine() {
39
		String html = parser.parseToHtml("    ");
40
		TestUtil.println("HTML: " + content(html));
41
		assertEquals("", content(html));
42
	}
43
44
	/*
45
	 * Inline HTML. For any markup that is not covered by Markdown's syntax, you simply use HTML itself. There's no need
46
	 * to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags. The
47
	 * only restrictions are that block-level HTML elements - e.g. div, table,pre, p, etc. - must be separated from
48
	 * surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or
49
	 * spaces. Markdown is smart enough not to add extra (unwanted) p tags around HTML block-level tags.
50
	 */
51
	public void testInlineHtml() throws Exception {
52
		String html = parser.parseToHtml("aaa\n\n<table>\n <tr>\n  <td>Foo</td>\n </tr>\n</table>\n\nbbb");
53
		TestUtil.println("HTML: " + content(html));
54
		assertEquals("<p>aaa</p>\n<table>\n <tr>\n  <td>Foo</td>\n </tr>\n</table>\n<p>bbb</p>\n", content(html));
55
	}
56
57
	/*
58
	 * Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can't use
59
	 * Markdown-style *emphasis* inside an HTML block.
60
	 */
61
	public void testNoProcessingWithinInlineHtmlBlockLevelTags() throws Exception {
62
		String html = parser.parseToHtml("<div>*Foo*</div>");
63
		TestUtil.println("HTML: " + content(html));
64
		assertEquals("<div>*Foo*</div>\n", content(html));
65
	}
66
67
	/*
68
	 * Span-level HTML tags - e.g. span, cite, or del - can be used anywhere in a Markdown paragraph, list item, or
69
	 * header. If you want, you can even use HTML tags instead of Markdown formatting; e.g. if you'd prefer to use HTML
70
	 * a or img tags instead of Markdown's link or image syntax, go right ahead.
71
	 */
72
	public void testSpanLevelTags() throws Exception {
73
		String html = parser.parseToHtml("Image: <img src=\"image.jpg\">some nice image</img>.");
74
		TestUtil.println("HTML: " + content(html));
75
		assertEquals("<p>Image: <img src=\"image.jpg\">some nice image</img>.</p>\n", content(html));
76
77
	}
78
79
	/*
80
	 * Unlike block-level HTML tags, Markdown syntax is processed within span-level tags.
81
	 */
82
	public void testProcessingInSpanLevelTags() throws Exception {
83
		String html = parser.parseToHtml("Image: <img src=\"image.jpg\">some **nice** image</img>.");
84
		TestUtil.println("HTML: " + content(html));
85
		assertEquals("<p>Image: <img src=\"image.jpg\">some <strong>nice</strong> image</img>.</p>\n", content(html));
86
	}
87
88
	/*
89
	 * Automatic Escaping for Special Characters. Markdown allows you to use these characters naturally, taking care of
90
	 * all the necessary escaping for you. If you use an ampersand as part of an HTML entity, it remains unchanged;
91
	 * otherwise it will be translated into &amp;. So, if you want to include a copyright symbol in your article, you
92
	 * can write: &copy; and Markdown will leave it alone.
93
	 */
94
	public void testPreserveHtmlEntities() {
95
		String copy = parser.parseToHtml("&copy; &amp;");
96
		TestUtil.println("HTML: " + content(copy));
97
		assertEquals("<p>&copy; &amp;</p>\n", content(copy));
98
	}
99
100
	/*
101
	 * But if you write: AT&T Markdown will translate it to: AT&amp;T. Similarly, because Markdown supports inline HTML,
102
	 * if you use angle brackets as delimiters for HTML tags, Markdown will treat them as such. But if you write: 4 < 5
103
	 * Markdown will translate it to: 4 &lt; 5
104
	 */
105
	public void testSpecialCharacters() {
106
		String amp = parser.parseToHtml("AT&T, a & b");
107
		TestUtil.println("HTML: " + content(amp));
108
		assertEquals("<p>AT&amp;T, a &amp; b</p>\n", content(amp));
109
110
		String urlWithAmp = parser.parseToHtml("http://images.google.com/images?num=30&q=larry+bird");
111
		TestUtil.println("HTML: " + content(urlWithAmp));
112
		assertEquals("<p>http://images.google.com/images?num=30&amp;q=larry+bird</p>\n", content(urlWithAmp));
113
114
		String lt = parser.parseToHtml("4 < 5");
115
		TestUtil.println("HTML: " + content(lt));
116
		assertEquals("<p>4 &lt; 5</p>\n", content(lt));
117
	}
118
119
	/*
120
	 * Backslash Escapes. Markdown allows you to use backslash escapes to generate literal characters which would otherwise have special
121
	 * meaning in Markdown's formatting syntax.
122
	 */
123
	public void testEscapedCharacters() {
124
125
		assertEquals("<p>\\</p>\n", content(parser.parseToHtml("\\\\")));
126
		assertEquals("<p>`</p>\n", content(parser.parseToHtml("\\`")));
127
		assertEquals("<p>*</p>\n", content(parser.parseToHtml("\\*")));
128
		assertEquals("<p>_</p>\n", content(parser.parseToHtml("\\_")));
129
		assertEquals("<p>{</p>\n", content(parser.parseToHtml("\\{")));
130
		assertEquals("<p>}</p>\n", content(parser.parseToHtml("\\}")));
131
		assertEquals("<p>[</p>\n", content(parser.parseToHtml("\\[")));
132
		assertEquals("<p>]</p>\n", content(parser.parseToHtml("\\]")));
133
		assertEquals("<p>(</p>\n", content(parser.parseToHtml("\\(")));
134
		assertEquals("<p>)</p>\n", content(parser.parseToHtml("\\)")));
135
		assertEquals("<p>#</p>\n", content(parser.parseToHtml("\\#")));
136
		assertEquals("<p>+</p>\n", content(parser.parseToHtml("\\+")));
137
		assertEquals("<p>-</p>\n", content(parser.parseToHtml("\\-")));
138
		assertEquals("<p>.</p>\n", content(parser.parseToHtml("\\.")));
139
		assertEquals("<p>!</p>\n", content(parser.parseToHtml("\\!")));
140
	}
141
142
}
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/src/org/eclipse/mylyn/internal/wikitext/markdown/tests/MarkdownLanguageSpanElementsTest.java (+141 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.tests;
13
14
import static org.eclipse.mylyn.internal.wikitext.markdown.tests.MarkdownLanguageTest.content;
15
import junit.framework.TestCase;
16
17
import org.eclipse.mylyn.wikitext.core.parser.MarkupParser;
18
import org.eclipse.mylyn.wikitext.markdown.core.MarkdownLanguage;
19
import org.eclipse.mylyn.wikitext.tests.TestUtil;
20
21
/**
22
 * Tests for Markdown span elements. Follows specification at
23
 * <a>http://daringfireball.net/projects/markdown/syntax#span</a>.
24
 * 
25
 * @author Stefan Seelmann
26
 */
27
public class MarkdownLanguageSpanElementsTest extends TestCase {
28
29
	private MarkupParser parser;
30
31
	@Override
32
	public void setUp() throws Exception {
33
		super.setUp();
34
		parser = new MarkupParser(new MarkdownLanguage());
35
	}
36
37
	/*
38
	 * Emphasis. Markdown treats asterisks * and underscores _ as indicators of emphasis. Text wrapped with one * or _ will be
39
	 * wrapped with an HTML em tag; double **'s or __ will be wrapped with an HTML strong tag.
40
	 */
41
	public void testEmphasis() {
42
		String html1 = parser.parseToHtml("*foo bar*");
43
		TestUtil.println("HTML: " + content(html1));
44
		assertEquals("<p><em>foo bar</em></p>\n", content(html1));
45
		String html2 = parser.parseToHtml("_foo bar_");
46
		TestUtil.println("HTML: " + content(html2));
47
		assertEquals("<p><em>foo bar</em></p>\n", content(html2));
48
		String html3 = parser.parseToHtml("**foo bar**");
49
		TestUtil.println("HTML: " + content(html3));
50
		assertEquals("<p><strong>foo bar</strong></p>\n", content(html3));
51
		String html4 = parser.parseToHtml("__foo bar__");
52
		TestUtil.println("HTML: " + content(html4));
53
		assertEquals("<p><strong>foo bar</strong></p>\n", content(html4));
54
	}
55
56
	/*
57
	 * Emphasis can be used in the middle of a word.
58
	 */
59
	public void testEmphasisWithinWord() {
60
		String html = parser.parseToHtml("un*frigging*believable");
61
		TestUtil.println("HTML: " + content(html));
62
		assertEquals("<p>un<em>frigging</em>believable</p>\n", content(html));
63
	}
64
65
	/*
66
	 * But if you surround an * or _ with spaces, it'll be treated as a literal asterisk or underscore.
67
	 */
68
	public void testLiteralAsteriskAndUnderscore() {
69
		String html = parser.parseToHtml("asterisk * underscore _");
70
		TestUtil.println("HTML: " + content(html));
71
		assertEquals("<p>asterisk * underscore _</p>\n", content(html));
72
	}
73
74
	/*
75
	 * To produce a literal asterisk or underscore at a position where it would otherwise be used as an emphasis
76
	 * delimiter, you can backslash escape it.
77
	 */
78
	public void testEscapesAsteriskAndUnderscore() {
79
		String html1 = parser.parseToHtml("\\*foo bar\\*");
80
		TestUtil.println("HTML: " + content(html1));
81
		assertEquals("<p>*foo bar*</p>\n", content(html1));
82
		String html2 = parser.parseToHtml("\\_foo bar\\_");
83
		TestUtil.println("HTML: " + content(html2));
84
		assertEquals("<p>_foo bar_</p>\n", content(html2));
85
		String html3 = parser.parseToHtml("\\**foo bar\\**");
86
		TestUtil.println("HTML: " + content(html3));
87
		assertEquals("<p>**foo bar**</p>\n", content(html3));
88
		String html4 = parser.parseToHtml("\\__foo bar\\__");
89
		TestUtil.println("HTML: " + content(html4));
90
		assertEquals("<p>__foo bar__</p>\n", content(html4));
91
	}
92
93
	/*
94
	 * Code. To indicate a span of code, wrap it with backtick quotes.
95
	 */
96
	public void testCodeSpan() {
97
		String html = parser.parseToHtml("Use the `printf()` function.");
98
		TestUtil.println("HTML: " + content(html));
99
		assertEquals("<p>Use the <code>printf()</code> function.</p>\n", content(html));
100
101
		String html3 = parser.parseToHtml("`foo *bar* foo`");
102
		TestUtil.println("HTML: " + content(html3));
103
		assertEquals("<p><code>foo *bar* foo</code></p>\n", content(html3));
104
	}
105
106
	/*
107
	 * To include a literal backtick character within a code span, you can use multiple backticks as the opening and
108
	 * closing delimiters. 
109
	 */
110
	public void testLiteralBacktickInCodeSpan() {
111
		String html = parser.parseToHtml("``There is a literal backtick (`) here.``");
112
		TestUtil.println("HTML: " + content(html));
113
		assertEquals("<p><code>There is a literal backtick (`) here.</code></p>\n", content(html));
114
	}
115
116
	/*
117
	 * The backtick delimiters surrounding a code span may include spaces - one after the opening, one before the
118
	 * closing. This allows you to place literal backtick characters at the beginning or end of a code span:
119
	 */
120
	public void testLiteralBacktickAtBeginnionOrIndOfCodeSpan() {
121
		String html = parser.parseToHtml("`` `foo` ``");
122
		TestUtil.println("HTML: " + content(html));
123
		assertEquals("<p><code>`foo`</code></p>\n", content(html));
124
	}
125
126
	/*
127
	 * With a code span, ampersands and angle brackets are encoded as HTML entities automatically
128
	 */
129
	public void testCodeSpanEncodesAmpersandsAndAngleBrackets() {
130
		String html = parser.parseToHtml("`Encode tags <p> and enties &code;`");
131
		TestUtil.println("HTML: " + content(html));
132
		assertEquals("<p><code>Encode tags &lt;p&gt; and enties &code;</code></p>\n", content(html));
133
	}
134
135
	public void testNoProcessingInCodeSpan() {
136
		String html = parser.parseToHtml("`Preserve *asterisk*.`");
137
		TestUtil.println("HTML: " + content(html));
138
		assertEquals("<p><code>Preserve *asterisk*.</code></p>\n", content(html));
139
	}
140
141
}
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/src/org/eclipse/mylyn/internal/wikitext/markdown/tests/MarkdownLanguageTest.java (+57 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2012 Stefan Seelmann and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Stefan Seelmann - initial API and implementation
10
 *******************************************************************************/
11
12
package org.eclipse.mylyn.internal.wikitext.markdown.tests;
13
14
import junit.framework.TestCase;
15
16
import org.eclipse.mylyn.wikitext.core.parser.MarkupParser;
17
import org.eclipse.mylyn.wikitext.markdown.core.MarkdownLanguage;
18
19
/**
20
 * http://daringfireball.net/projects/markdown/syntax
21
 * 
22
 * @author Stefan Seelmann
23
 */
24
public class MarkdownLanguageTest extends TestCase {
25
26
	private MarkupParser parser;
27
28
	@Override
29
	public void setUp() throws Exception {
30
		super.setUp();
31
		parser = new MarkupParser(new MarkdownLanguage());
32
	}
33
34
	public void testFullExample() {
35
36
		StringBuilder text = new StringBuilder();
37
		text.append("\n");
38
		text.append("Header\n");
39
		text.append("======\n");
40
		text.append("\n");
41
		text.append("Lorem ipsum dolor sit amet, \n");
42
		text.append("consetetur adipisici elit.\n");
43
		text.append("\n");
44
		text.append("## Header\n");
45
		text.append("\n");
46
		text.append("\n");
47
48
		String html = parser.parseToHtml(text.toString());
49
		//TestUtil.println("HTML: " + content(html));
50
	}
51
52
	public static String content(String html) {
53
		int begin = html.indexOf("<body>") + 6;
54
		int end = html.lastIndexOf("</body>");
55
		return html.substring(begin, end);
56
	}
57
}
(-)a/org.eclipse.mylyn.wikitext.markdown.tests/styles/junit-noframes.xsl (+154 lines)
Added Link Here
1
<?xml version="1.0"?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
	<xsl:output method="html"/>
4
<!--
5
6
This stylesheet is used with junitreport instead of the default since the default stylesheets do a really
7
bad job of formatting nested test cases.
8
 
9
 -->	
10
	<xsl:template match="/">
11
		<html>
12
			<head>
13
				<title>Unit Test Results</title>
14
				<style type="text/css">
15
body {
16
  font: normal 68% verdana,arial,helvetica;
17
}			
18
.error {
19
	color: red;
20
}
21
.failure {
22
	color: red;
23
}
24
.warning {
25
	color: red;
26
	font-weight: bold;
27
	font-size: large;
28
}
29
30
table,td,th {
31
	border-style: solid;
32
	border-color: black;
33
	border-width: thin; 
34
}
35
      			</style>
36
			</head>
37
			<body>
38
				<h1>Unit Test Results</h1>
39
				<h2>Overview</h2>
40
				<xsl:call-template name="overview"/>
41
				<h2>Detail</h2>
42
				<xsl:call-template name="detail"/>
43
				<xsl:if test="//testcase[error or failure]">
44
					<h2>Failures and Errors</h2>
45
					<xsl:call-template name="detail2"/>
46
				</xsl:if>
47
			</body>
48
		</html>
49
	</xsl:template>
50
	
51
	<xsl:template name="overview">
52
        <xsl:variable name="errors" select="sum(//testsuite/@errors)"/>
53
        <xsl:variable name="failures" select="sum(//testsuite/@failures)"/>
54
		<xsl:variable name="tests" select="sum(//testsuite/@tests)"/>
55
        <xsl:variable name="time" select="sum(//testsuite/@time)"/>
56
        <xsl:if test="$errors &gt; 0 or $failures &gt; 0">
57
        	<div class="warning">
58
        	Build Is Unstable!!
59
        	</div>
60
        </xsl:if>
61
        <table cellspacing="0">
62
        	<tr>
63
        		<th>Tests</th>
64
        		<th>Errors</th>
65
        		<th>Failures</th>
66
        		<th>Time</th>
67
        	</tr>
68
        	<tr>
69
        		<td><xsl:value-of select="$tests"/></td>
70
        		<td>
71
        			<xsl:if test="$errors &gt; 0">
72
        				<xsl:attribute name="class">error</xsl:attribute>
73
        			</xsl:if>
74
        			<xsl:value-of select="$errors"/>
75
        		</td>
76
        		<td>
77
        			<xsl:if test="$failures &gt; 0">
78
        				<xsl:attribute name="class">failure</xsl:attribute>
79
        			</xsl:if>
80
        			<xsl:value-of select="$failures"/>
81
        		</td>
82
        		<td align="right"><xsl:value-of select="$time"/></td>
83
        	</tr>
84
        </table>
85
	</xsl:template>
86
	
87
	<xsl:template name="detail">
88
		<xsl:for-each select="//testsuite">
89
			<h3><xsl:value-of select="@name"/></h3>
90
			<table width="100%" cellspacing="0">
91
				<tr>
92
					<th>Class</th>
93
					<th>Name</th>
94
					<th>Time</th>
95
					<th>Status</th>
96
				</tr>
97
				<xsl:for-each select="testcase">
98
					<xsl:sort select="@classname"/>
99
					<xsl:sort select="@name"/>
100
					<tr>
101
	        			<xsl:if test="failure">
102
	        				<xsl:attribute name="class">failure</xsl:attribute>
103
	        			</xsl:if>
104
	        			<xsl:if test="error">
105
	        				<xsl:attribute name="class">error</xsl:attribute>
106
	        			</xsl:if>
107
						<td><xsl:value-of select="@classname"/></td>
108
						<td><xsl:value-of select="@name"/></td>
109
						<td><xsl:value-of select="format-number(@time,'0.000')"/></td>
110
						<td>
111
							<xsl:choose>
112
					            <xsl:when test="failure">Failure</xsl:when>
113
					            <xsl:when test="error">Error</xsl:when>
114
					            <xsl:otherwise>Success</xsl:otherwise>
115
					        </xsl:choose>
116
						</td>
117
					</tr>
118
				</xsl:for-each>
119
			</table>
120
		</xsl:for-each>
121
	</xsl:template>
122
	
123
	<xsl:template name="detail2">
124
		<xsl:for-each select="//testcase[error or failure]">
125
			<xsl:sort select="@classname"/>
126
			<xsl:sort select="@name"/>
127
			<h3>
128
				<xsl:choose>
129
		            <xsl:when test="failure">Failure</xsl:when>
130
		            <xsl:when test="error">Error</xsl:when>
131
		            <xsl:otherwise>Success</xsl:otherwise>
132
		        </xsl:choose>
133
		        Detail: 
134
				<xsl:value-of select="@classname"/>.<xsl:value-of select="@name"/>
135
			</h3>
136
			<xsl:apply-templates select="error"/>
137
			<xsl:apply-templates select="failure"/>		
138
		</xsl:for-each>
139
	</xsl:template>
140
	
141
	<xsl:template match="error">
142
		<span class="error">Error: <xsl:value-of select="@message"/></span><br/>
143
		<pre>
144
			<xsl:value-of select="."/>
145
		</pre>
146
	</xsl:template>
147
	
148
	<xsl:template match="failure">
149
		<span class="failure">Failure: <xsl:value-of select="@message"/></span><br/>
150
		<pre>
151
			<xsl:value-of select="."/>
152
		</pre>
153
	</xsl:template>
154
</xsl:stylesheet>
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.classpath (+7 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
6
	<classpathentry kind="output" path="bin"/>
7
</classpath>
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.project (+34 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.eclipse.mylyn.wikitext.markdown.ui</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
		<buildCommand>
24
			<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
25
			<arguments>
26
			</arguments>
27
		</buildCommand>
28
	</buildSpec>
29
	<natures>
30
		<nature>org.eclipse.pde.PluginNature</nature>
31
		<nature>org.eclipse.jdt.core.javanature</nature>
32
		<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
33
	</natures>
34
</projectDescription>
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.core.runtime.prefs (+2 lines)
Added Link Here
1
eclipse.preferences.version=1
2
line.separator=\n
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.jdt.core.prefs (+357 lines)
Added Link Here
1
#Wed Mar 02 16:00:06 PST 2011
2
eclipse.preferences.version=1
3
org.eclipse.jdt.core.codeComplete.argumentPrefixes=
4
org.eclipse.jdt.core.codeComplete.argumentSuffixes=
5
org.eclipse.jdt.core.codeComplete.fieldPrefixes=
6
org.eclipse.jdt.core.codeComplete.fieldSuffixes=
7
org.eclipse.jdt.core.codeComplete.localPrefixes=
8
org.eclipse.jdt.core.codeComplete.localSuffixes=
9
org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
10
org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
11
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
12
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
13
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
14
org.eclipse.jdt.core.compiler.compliance=1.5
15
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
16
org.eclipse.jdt.core.compiler.debug.localVariable=generate
17
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
18
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
19
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
20
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
21
org.eclipse.jdt.core.compiler.problem.deprecation=warning
22
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
23
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
24
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
25
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
26
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
27
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
28
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
29
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
30
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
31
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
32
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
33
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
34
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
35
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
36
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
37
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
38
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
39
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
40
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
41
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
42
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
43
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
44
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
45
org.eclipse.jdt.core.compiler.problem.nullReference=error
46
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
47
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
48
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
49
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
50
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
51
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
52
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
53
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
54
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
55
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
56
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
57
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
58
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
59
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
60
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
61
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
62
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
63
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
64
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
65
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
66
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
67
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
68
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
69
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
70
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
71
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
72
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
73
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
74
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
75
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
76
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
77
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
78
org.eclipse.jdt.core.compiler.source=1.5
79
org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled
80
org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL
81
org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
82
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
83
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
84
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
85
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
86
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
87
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
88
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
89
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
90
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
91
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
92
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
93
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
94
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
95
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
96
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
97
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
98
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
99
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
100
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
101
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
102
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
103
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
104
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
105
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
106
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
107
org.eclipse.jdt.core.formatter.blank_lines_before_field=1
108
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
109
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
110
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
111
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
112
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
113
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
114
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
115
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
116
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
117
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
118
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
119
org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
120
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
121
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
122
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
123
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
124
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
125
org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
126
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
127
org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
128
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
129
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
130
org.eclipse.jdt.core.formatter.comment.format_block_comments=false
131
org.eclipse.jdt.core.formatter.comment.format_comments=true
132
org.eclipse.jdt.core.formatter.comment.format_header=false
133
org.eclipse.jdt.core.formatter.comment.format_html=true
134
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
135
org.eclipse.jdt.core.formatter.comment.format_line_comments=false
136
org.eclipse.jdt.core.formatter.comment.format_source_code=true
137
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
138
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
139
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
140
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
141
org.eclipse.jdt.core.formatter.comment.line_length=120
142
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
143
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
144
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
145
org.eclipse.jdt.core.formatter.compact_else_if=true
146
org.eclipse.jdt.core.formatter.continuation_indentation=2
147
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
148
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
149
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
150
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
151
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
152
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
153
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
154
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
155
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
156
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
157
org.eclipse.jdt.core.formatter.indent_empty_lines=false
158
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
159
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
160
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
161
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
162
org.eclipse.jdt.core.formatter.indentation.size=4
163
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
164
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
165
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
166
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
167
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
168
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
169
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=insert
170
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
171
org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
172
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
173
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
174
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
175
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
176
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
177
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
178
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
179
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
180
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
181
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
182
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
183
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
184
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
185
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
186
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
187
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
188
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
189
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
190
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
191
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
192
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
193
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
194
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
195
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
196
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
197
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
198
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
199
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
200
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
201
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
202
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
203
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
204
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
205
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
206
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
207
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
208
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
209
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
210
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
211
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
212
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
213
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
214
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
215
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
216
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
217
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
218
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
219
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
220
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
221
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
222
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
223
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
224
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
225
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
226
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
227
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
228
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
229
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
230
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
231
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
232
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
233
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
234
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
235
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
236
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
237
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
238
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
239
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
240
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
241
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
242
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
243
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
244
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
245
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
246
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
247
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
248
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
249
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
250
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
251
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
252
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
253
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
254
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
255
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
256
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
257
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
258
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
259
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
260
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
261
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
262
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
263
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
264
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
265
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
266
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
267
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
268
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
269
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
270
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
271
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
272
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
273
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
274
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
275
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
276
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
277
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
278
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
279
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
280
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
281
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
282
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
283
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
284
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
285
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
286
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
287
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
288
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
289
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
290
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
291
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
292
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
293
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
294
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
295
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
296
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
297
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
298
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
299
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
300
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
301
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
302
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
303
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
304
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
305
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
306
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
307
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
308
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
309
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
310
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
311
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
312
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
313
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
314
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
315
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
316
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
317
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
318
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
319
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
320
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
321
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
322
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
323
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
324
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
325
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
326
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
327
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
328
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
329
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
330
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
331
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
332
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
333
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
334
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
335
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
336
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
337
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
338
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
339
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
340
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
341
org.eclipse.jdt.core.formatter.join_wrapped_lines=true
342
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
343
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
344
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
345
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
346
org.eclipse.jdt.core.formatter.lineSplit=120
347
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
348
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
349
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
350
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
351
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
352
org.eclipse.jdt.core.formatter.tabulation.char=tab
353
org.eclipse.jdt.core.formatter.tabulation.size=4
354
org.eclipse.jdt.core.formatter.use_on_off_tags=false
355
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
356
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
357
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.jdt.ui.prefs (+64 lines)
Added Link Here
1
#Wed Mar 02 16:00:03 PST 2011
2
cleanup_settings_version=2
3
eclipse.preferences.version=1
4
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
5
formatter_profile=_Mylyn based on Eclipse
6
formatter_settings_version=12
7
internal.default.compliance=default
8
org.eclipse.jdt.ui.exception.name=e
9
org.eclipse.jdt.ui.gettersetter.use.is=true
10
org.eclipse.jdt.ui.javadoc=false
11
org.eclipse.jdt.ui.keywordthis=false
12
org.eclipse.jdt.ui.overrideannotation=true
13
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"></template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\n * Copyright (c) 2007, 2008 David Green and others.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n *     David Green - initial API and implementation\n *******************************************************************************/\n\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
14
sp_cleanup.add_default_serial_version_id=true
15
sp_cleanup.add_generated_serial_version_id=false
16
sp_cleanup.add_missing_annotations=true
17
sp_cleanup.add_missing_deprecated_annotations=true
18
sp_cleanup.add_missing_methods=false
19
sp_cleanup.add_missing_nls_tags=false
20
sp_cleanup.add_missing_override_annotations=true
21
sp_cleanup.add_serial_version_id=false
22
sp_cleanup.always_use_blocks=true
23
sp_cleanup.always_use_parentheses_in_expressions=false
24
sp_cleanup.always_use_this_for_non_static_field_access=false
25
sp_cleanup.always_use_this_for_non_static_method_access=false
26
sp_cleanup.convert_to_enhanced_for_loop=true
27
sp_cleanup.correct_indentation=true
28
sp_cleanup.format_source_code=true
29
sp_cleanup.format_source_code_changes_only=false
30
sp_cleanup.make_local_variable_final=false
31
sp_cleanup.make_parameters_final=false
32
sp_cleanup.make_private_fields_final=true
33
sp_cleanup.make_type_abstract_if_missing_method=false
34
sp_cleanup.make_variable_declarations_final=true
35
sp_cleanup.never_use_blocks=false
36
sp_cleanup.never_use_parentheses_in_expressions=true
37
sp_cleanup.on_save_use_additional_actions=true
38
sp_cleanup.organize_imports=true
39
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
40
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
41
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
42
sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
43
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
44
sp_cleanup.remove_private_constructors=true
45
sp_cleanup.remove_trailing_whitespaces=true
46
sp_cleanup.remove_trailing_whitespaces_all=true
47
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
48
sp_cleanup.remove_unnecessary_casts=true
49
sp_cleanup.remove_unnecessary_nls_tags=true
50
sp_cleanup.remove_unused_imports=false
51
sp_cleanup.remove_unused_local_variables=false
52
sp_cleanup.remove_unused_private_fields=true
53
sp_cleanup.remove_unused_private_members=false
54
sp_cleanup.remove_unused_private_methods=true
55
sp_cleanup.remove_unused_private_types=true
56
sp_cleanup.sort_members=false
57
sp_cleanup.sort_members_all=false
58
sp_cleanup.use_blocks=true
59
sp_cleanup.use_blocks_only_for_return_and_throw=false
60
sp_cleanup.use_parentheses_in_expressions=false
61
sp_cleanup.use_this_for_non_static_field_access=false
62
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
63
sp_cleanup.use_this_for_non_static_method_access=false
64
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.ltk.core.refactoring.prefs (+3 lines)
Added Link Here
1
#Tue Aug 18 22:42:26 PDT 2009
2
eclipse.preferences.version=1
3
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.mylyn.tasks.ui.prefs (+4 lines)
Added Link Here
1
#Thu Jul 31 11:10:30 PDT 2008
2
eclipse.preferences.version=1
3
project.repository.kind=bugzilla
4
project.repository.url=https\://bugs.eclipse.org/bugs
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.mylyn.team.ui.prefs (+2 lines)
Added Link Here
1
commit.comment.template=${task.key}\: ${task.description}\n\nTask-Url\: ${task.url}
2
eclipse.preferences.version=1
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/.settings/org.eclipse.pde.prefs (+24 lines)
Added Link Here
1
#Thu Aug 14 22:14:04 PDT 2008
2
compilers.f.unresolved-features=1
3
compilers.f.unresolved-plugins=1
4
compilers.incompatible-environment=1
5
compilers.p.build=1
6
compilers.p.deprecated=1
7
compilers.p.discouraged-class=2
8
compilers.p.internal=2
9
compilers.p.missing-bundle-classpath-entries=1
10
compilers.p.missing-packages=1
11
compilers.p.no-required-att=0
12
compilers.p.not-externalized-att=2
13
compilers.p.unknown-attribute=0
14
compilers.p.unknown-class=0
15
compilers.p.unknown-element=0
16
compilers.p.unknown-identifier=1
17
compilers.p.unknown-resource=0
18
compilers.p.unresolved-ex-points=0
19
compilers.p.unresolved-import=0
20
compilers.s.create-docs=false
21
compilers.s.doc-folder=doc
22
compilers.s.open-tags=1
23
compilers.use-project=true
24
eclipse.preferences.version=1
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/META-INF/MANIFEST.MF (+12 lines)
Added Link Here
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %Bundle-Name.0
4
Bundle-SymbolicName: org.eclipse.mylyn.wikitext.markdown.ui;singleton:=true
5
Bundle-Version: 1.8.0.qualifier
6
Bundle-Vendor: %Bundle-Vendor.0
7
Bundle-RequiredExecutionEnvironment: J2SE-1.5
8
Bundle-Localization: plugin
9
Require-Bundle: org.eclipse.mylyn.wikitext.core;bundle-version="1.5.0",
10
 org.eclipse.mylyn.wikitext.markdown.core;bundle-version="1.5.0",
11
 org.eclipse.mylyn.wikitext.ui;bundle-version="1.5.0"
12
Export-Package: org.eclipse.mylyn.internal.wikitext.markdown.ui;x-internal:=true
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/about.html (+27 lines)
Added Link Here
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
<html>
3
<head>
4
<title>About</title>
5
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
6
</head>
7
<body lang="EN-US">
8
<h2>About This Content</h2>
9
 
10
<p>June 25, 2008</p>	
11
<h3>License</h3>
12
13
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
14
indicated below, the Content is provided to you under the terms and conditions of the
15
Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
16
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
17
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
18
19
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
20
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
21
apply to your use of any object code in the Content.  Check the Redistributor's license that was 
22
provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
23
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
24
and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
25
26
</body>
27
</html>
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/build.properties (+19 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2012 Stefan Seelmann and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     Stefan Seelmann - initial API and implementation
10
###############################################################################
11
source.. = src/
12
output.. = bin/
13
bin.includes = META-INF/,\
14
               .,\
15
               plugin.xml,\
16
               plugin.properties,\
17
               about.html
18
19
src.includes=about.html
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/plugin.properties (+21 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2012 Stefan Seelmann and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     Stefan Seelmann - initial API and implementation
10
###############################################################################
11
12
Bundle-Vendor.0 = Eclipse Mylyn
13
Bundle-Name.0 = Mylyn WikiText Markdown UI
14
15
template.description.br = line break
16
template.description.h1 = Heading 1
17
template.description.h2 = Heading 2
18
template.description.h3 = Heading 3
19
template.description.h4 = Heading 4
20
template.description.h5 = Heading 5
21
template.description.h6 = Heading 6
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/plugin.xml (+20 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.0"?>
3
<plugin>
4
   <extension point="org.eclipse.mylyn.wikitext.ui.contentAssist">
5
      <templates markupLanguage="Markdown">
6
7
         <!--
8
         <template name="line break" description="%template.description.br" content="  \n"/>
9
         -->
10
11
         <template name="# " description="%template.description.h1" content="\n# ${text}\n\n" block="true"/>
12
         <template name="## " description="%template.description.h2" content="\n## ${text}\n\n" block="true"/>
13
         <template name="### " description="%template.description.h3" content="\n### ${text}\n\n" block="true"/>
14
         <template name="#### " description="%template.description.h4" content="\n#### ${text}\n\n" block="true"/>
15
         <template name="##### " description="%template.description.h5" content="\n##### ${text}\n\n" block="true"/>
16
         <template name="###### " description="%template.description.h6" content="\n###### ${text}\n\n" block="true"/>
17
18
      </templates>
19
   </extension>
20
</plugin>
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/pom.xml (+29 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
  <modelVersion>4.0.0</modelVersion>
5
  <parent>
6
    <artifactId>org.eclipse.mylyn.docs-parent</artifactId>
7
    <groupId>org.eclipse.mylyn.docs</groupId>
8
    <version>1.8.0-SNAPSHOT</version>
9
  </parent>
10
  <artifactId>org.eclipse.mylyn.wikitext.markdown.ui</artifactId>
11
  <version>1.8.0-SNAPSHOT</version>
12
  <packaging>eclipse-plugin</packaging>
13
  <build>
14
    <plugins>
15
      <plugin>
16
        <groupId>org.eclipse.tycho</groupId>
17
        <artifactId>tycho-source-plugin</artifactId>
18
      </plugin>
19
      <plugin>
20
        <groupId>org.codehaus.mojo</groupId>
21
        <artifactId>findbugs-maven-plugin</artifactId>
22
      </plugin>
23
      <plugin>
24
        <groupId>org.apache.maven.plugins</groupId>
25
        <artifactId>maven-pmd-plugin</artifactId>
26
      </plugin>
27
    </plugins>
28
  </build>
29
</project>
(-)a/org.eclipse.mylyn.wikitext.markdown.ui/src/org/eclipse/mylyn/internal/wikitext/markdown/ui/packge-info.java (+1 lines)
Added Link Here
1
package org.eclipse.mylyn.internal.wikitext.markdown.ui;

Return to bug 329528