Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.6.0
-
None
-
607a3dd678841d9fcb45849d4945724ca13955ca 49afb01e0a657a42221723ac29a69c1cfa9edc54 (qt-creator/qt-creator/4.9)
Description
Atm on Q_ASSERT() user can quickly go to this source line. It works only with Q_ASSERT. In real any "ASSERT: ... source/file.cpp, line 1" in output will produce clickable link. So it will be good to add feature to recognize any 'path/to/source/file.cpp:1' as clickable link. For example in such case I can put many
qDebug().nospace() << _FILE_ << ":" << _LINE_;
to learn my code and to find a bug.
I tried to write a plugin with such feature for Qt Creator but seems no any way to modify output. I can't replace QtOutputFormatter with my own one.
Attachments
For Gerrit Dashboard: QTCREATORBUG-20406 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
228950,4 | QtOutputFormatter: Handle QML output with braces | 4.7 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
251919,5 | QtOutputFormatter: Allow standalone file:// links | 4.9 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |