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

        1. bandicam 2022-08-05 09-22-35-435.mp4
          7.83 MB
          Alexander Bychkov
        2. Снимок экрана 2022-05-26 091038.png
          76 kB
          Alexander Bychkov
        3. Снимок экрана 2022-05-26 091136.png
          42 kB
          Alexander Bychkov
        4. Снимок экрана 2022-05-26 091203.png
          42 kB
          Alexander Bychkov
        5. Снимок экрана 2022-05-26 091257.png
          76 kB
          Alexander Bychkov

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-27594
          # Subject Branch Project Status CR V

          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