Skip to content

Commit 7b4d857

Browse files
authored
Merge pull request #1351 from lastsecondsave/javadoc_refresh
[Java] Refactor javadoc
2 parents bf85c44 + c152245 commit 7b4d857

File tree

3 files changed

+391
-202
lines changed

3 files changed

+391
-202
lines changed

Java/Java.sublime-syntax

+9-1
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,16 @@ contexts:
295295
comments:
296296
- match: /\*\*/
297297
scope: comment.block.empty.java punctuation.definition.comment.java
298-
- include: scope:text.html.javadoc
298+
- include: javadoc
299299
- include: comments-inline
300+
javadoc:
301+
- match: /\*\*
302+
scope: comment.block.documentation.javadoc punctuation.definition.comment.begin.javadoc
303+
embed: scope:text.html.javadoc
304+
embed_scope: comment.block.documentation.javadoc
305+
escape: \*/
306+
escape_captures:
307+
0: comment.block.documentation.javadoc punctuation.definition.comment.end.javadoc
300308
comments-inline:
301309
- match: /\*
302310
scope: punctuation.definition.comment.java

0 commit comments

Comments
 (0)