I have the next issue : in the plugin’s console is highlighted only the file name, but not the line. However, when I click on the link, the editor opens the specified file, and the cursor is placed in the specified line :
The RegexpFilter is initialised in the next way :
console.addMessageFilter(new RegexpFilter(project, RegexpFilter.FILE_PATH_MACROS + ":" + RegexpFilter.LINE_MACROS));
Thank you in advance.
This behavior is by design of the
RegexpFilterimplementation, see how thehighlightEndOffsetis defined.Line number is not highlighted, only the file path. If you want it to be highlighted as well, create your own
Filterimplementation that will use different logic for the result highlighting.