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

Clangd + Top Side Outline::Function declaration —> wrong rendering: shows function declaration TWICE.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 9.0.0-beta1
    • Qt Creator 6.0.0, Qt Creator 6.0.1, Qt Creator 6.0.2, Qt Creator 7.0.0, Qt Creator 7.0.1, Qt Creator 7.0.2, Qt Creator 8.0.0, Qt Creator 8.0.1
    • C/C++/Obj-C++ Support
    • None
    • Windows
    • 0bc3d74ea4 (qt-creator/qt-creator/master) 0bc3d74ea4 (qt-creator/qt-creator/qds-dev) 0bc3d74ea4 (qt-creator/qt-creator/9.0)

    Description

      If Tools/Options.../C++/Clangd option is On we have next trouble:
      When using vertical document split (side by side) top level outline of document is often (almost always) shows function declaration twice.

      To avoid this problem I do next: (see attached screenshots)
      1. open Tools/Options.../C++/Clangd option;
      2. deselect "Use clangd";
      3. press "Apply";
      4. select again "Use clangd";
      5. press "OK";
      6. And continue to development.

      I have to do it almost always when I switch to another source/header file either on left editor pane or right!

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              dsso Alexander Bychkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes