Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20406

User links to source in application output pane

    XMLWordPrintable

Details

    • 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

        Activity

          People

            kandeler Christian Kandeler
            taurus Ivan Romanov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes