Here highlighting color is defined by the link:
|
val Code: TextAttributesKey = createTextAttributesKey("Y_CODE", DefaultLanguageHighlighterColors.BLOCK_COMMENT) |
GO_CODE is eventually mapped to DefaultLanguageHighlighterColors.BLOCK_COMMENT, which uncomforts reading, especially under impossibility of configuring this highlighting for goyacc only.
Please do either:
- Change
BLOCK_COMMENT to something more appropriate, for example, IDENTIFIER. Or
- Add new highlighting category into settings.
I think the first approach is much simpler and should work just fine, but anyway it's not a block comment, so that's 100% incorrect.
Thanks for the plugin, btw. I've successfully attached it to usual yacc file in mariadb project
Here highlighting color is defined by the link:
idea-goyacc/src/main/scala/idea/goyacc/insight/GoYaccSyntaxHighlighter.scala
Line 28 in 9decc6a
GO_CODEis eventually mapped toDefaultLanguageHighlighterColors.BLOCK_COMMENT, which uncomforts reading, especially under impossibility of configuring this highlighting for goyacc only.Please do either:
BLOCK_COMMENTto something more appropriate, for example,IDENTIFIER. OrI think the first approach is much simpler and should work just fine, but anyway it's not a block comment, so that's 100% incorrect.
Thanks for the plugin, btw. I've successfully attached it to usual yacc file in mariadb project