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

CppCheck Plugin annotations not working in Editor until first "Apply" in preferences

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 10.0.0-rc1
    • Analyzer: CppCheck
    • None

    Description

      I could start the CppCheck from the Analyze menu and it showed hints.

      But while clang-tidy was flooding my Soruce Editor with hints, CppCheck hints were not shown.

      I had a look at the Edit => Preferences => Analyzer => CppCheck and the settings were the same as in the explicit call from Menu Analyze => CppCheck.
      However, no hints annotations in the Source Editor.
      The manual tells me:
      "To specify the settings above for the automatically run checks, select Edit > Preferences > Analyzer > CppCheck."

      By "accident" it started to work with annotations when I pressed "Apply" before closing the Preferences for the first time. Without this "apply" there was not annotation.

      As all checkmarks in the Preferences Dialog were set reasonable, I had always closed the Preferences with the [x] in the upper corner ...

      How about an additional checkmark to a activate/de-activate "automatically run checks" in the CppCheck Preferences Panel?

      Or have it automatically running when the plugin is active?

       

      Attachments

        Issue Links

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

          Activity

            People

              gres Sergey
              moellney Michael Möllney
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes