May I modify the color of the locationString in ProjectViewNodeDecorator?
Answered
Please sign in to leave a comment.
Hi,
It seems that this code is responsible for this: https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/ide/util/treeView/NodeRenderer.java#L64-L68
Thanks for your response.
Upon reviewing the snippet you provided, it appears that I can utilize coloredText.
I will try later to see if it is feasible.
Thank you very much. I finally used the addText method to achieve colored text.
Hi,
I think the future readers would appreciate the code snippet solving this. Please share it if you can.
Of course, Just need to implement the decorating method of ProjectViewNodeDecorator and use the presentation.addText method within that method.