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

Warn user incompatible LibFormat library when enabling ClangFormat plugin

    XMLWordPrintable

Details

    • Linux/X11
    • 4d3bb1c85859be07001a76fad24de457811a7d63 (qt-creator/qt-creator/4.10)

    Description

      In this blog post it is mentioned that enabling the ClangFormat plugin should show certain options, but for me it does not:

      It also looks like the ClangFormat plugin is not doing anything, because indentation for structured bindings is still broken (for example), which is supposedly fixed with ClangFormat.

       

      I'm running Arch Linux, which is on Clang 8.0.0 now, which might be the issue?

      [bart@samadhi lib]$ lsof -p 2013 | grep clangFormat
      clangback 2013 bart  mem       REG                8,2   624336 25468298 /usr/lib/libclangFormat.so.8
      
      

      The libclangFromat library seems correctly loaded.

      Attachments

        Issue Links

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

          Activity

            People

              bubke Marco Bubke
              bart_ Bart
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes