Need yellow "warning" squiggly underline for tab title, using WolfTheProblemSolver for errors

已回答

I have a plugin that reports custom errors and am able to use reportProblems() in WolfTheProblemSolver to get red underlining in the Tab Title (shown in image). How can I do this same thing for warnings? It can be done for the project tool window file names with ProjectViewNodeDecorator, so is there something similar for the tab title?

Upload id: 2024_09_27_WjzL5rpNNt1EL1MRBQ2LsU (file: tab_underline_intellij.png)

0

Hello. WolfTheProblemSolver is an internal class which paints errors in some places, e.g editor tabs or project view. It's not intended for obtaining errors. Errors and warnings are stored in the document markup model. Please see DocumentMarkupModel

0

请先登录再写评论。