Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 13.0.0
-
None
-
Ubuntu 22
-
-
bb2d565ec (master)
Description
Hello,
The custom output parser does not linkify file paths if there is an escape character before.
In my example i use the "\033[31m" code wich allows to color the following text in red.
Minimal reproducing example :
main.cpp :
#include <iostream>
int main()
{
std::cout << "#error file://main.cpp:5: error message" << std::endl;
std::cout << "\033[31m#error\033[0m file://main.cpp:5: error message" << std::endl;
return 0;
}
What happens :
In the Application Output Panel, the first line is properly linkified, but the second line is properly colored, but not linkified. (see attached screenshot)
What should happen :
The second line should be both colored and linkified.
Possible improvements :
- add support to hyperlink escape sequence
- add support to customize linkifiable paths with a regexp in custom output parsers