дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
feat(editor): highlight tags inside doc comments (#2200)
Tags inside doc comments looked like the rest of the comment text. They now get their own colours in Java, Kotlin, JavaScript, TypeScript, JSX, TSX and PHP: block and inline tags, tag values such as a `@param` name, KDoc links, and HTML markup from a fixed element list. Plain comments, strings and an `@` inside text get nothing. Colours come from new theme tokens, with entries under Settings > Editor > Color Scheme, in every built-in theme, and through .icls and IntelliJ theme import. Only comment nodes in the visible ranges are scanned. The Kotlin tokenizer records doc comment state in its parser state, so long comments stay fast and correct. Co-authored-by: lleviathe <[email protected]>
Цей коміт міститься в:
1 джерело
ccd1f3aca1
коміт
fd82beb309
18 files changed
+678
-8
No files matched your search
@@ -12,6 +12,11 @@
|
||||
"--syn-comment": "#6b7a8f",
|
||||
"--syn-comment-style": "normal",
|
||||
"--syn-doc-comment": "#74889c",
|
||||
"--syn-doc-comment-tag": "#93abc4",
|
||||
"--syn-doc-comment-tag-effect": "none",
|
||||
"--syn-doc-comment-tag-value": "#b4c0ce",
|
||||
"--syn-doc-markup": "#8aa3b8",
|
||||
"--syn-doc-markup-bg": "transparent",
|
||||
"--syn-docstring": "#8fb071",
|
||||
"--syn-annotation": "#d7a0e0",
|
||||
"--syn-decorator": "#d7a0e0",
|
||||
|
||||
Reference in new issue
Заблокувати користувача