commit message Syntax highlighting
Answered
I want to make some "language" rules and stuff into commit message dialog, introduce colors and highlights. How should I start?
Please sign in to leave a comment.
You can run inspections via com.intellij.vcs.commit.message.BaseCommitMessageInspection, custom completion items can be added via com.intellij.codeInsight.completion.PlainTextSymbolCompletionContributor
Thanks, Can You help me to implement BaseCommitMessageInspection. I do not find how register it
It requires some manual registration currently, see com.intellij.grazie.ide.inspection.grammar.GrazieCommitInspection
Please watch https://youtrack.jetbrains.com/issue/IDEA-217753 for progress regarding "easier" way of registrating such inspections.