In java-mode, I find the IntelliJ style comment block /** ... */
cannot be recognized correctly. And I have checked that the value of comment-start-skip
variable (inherit from c-mode) is set as
"\\(//+\\|/\\*+\\)\\s *"
, which is supposed to match /**
in first line. Any idea?
Asked
Active
Viewed 33 times
0

angeldsWang
- 111
- 6
1 Answers
1
Ok, I found that starting with /**
is a convention for javadoc comment. As opposed to the plain comment's font-lock-comment-face
, we can do highlight customization with font-lock-doc-face
.

angeldsWang
- 111
- 6