ElementColorProvider for multiply PsiElement
已回答
function MyFunc(R, G, B){}
call MyFunc(10,20,30)How implement ElementColorProvider without “LineMarker is supposed to be registered for leaf elements only” error?
请先登录再写评论。
The assertion message has already all information and points to com.intellij.codeInsight.daemon.LineMarkerProvider#getLineMarkerInfo for a very detailed explanation.
You most probably try to provide implementation for non-leaf PsiElement here.