Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can not copy analyzer's line annotations
QtWS25 Last Chance

Can not copy analyzer's line annotations

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 167 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,
    I consider this like a bug, but it also might be missing feature:

    When you make some coding bug, or mistake leading to compiler warning you can see line annotation. When you wait for popup with details - there are available buttons to copy or ignore. Exactly like described here: https://doc.qt.io/qtcreator/creator-checking-code-syntax.html#viewing-annotations
    b2.PNG

    However buttons are unavailable for line annotations that comes from analyzer (so from all: CppCheck, Clang-Tidy and Clazy checks):
    b3.PNG
    which forces user to rewrite (sometimes really long) warning/info message to check the reason for it.

    Moreover, above presented line annotations have their "title", so it's clear which "tool" complains about something. There is no such "title" on Clang-Tidy and Clazy checks which makes even harder to distinguish where from warning comes.
    b4.PNG

    Am I doing something wrong? Did I missed some checkbox to have this "copy" button? Or it is only my local problem?

    Fragments from "System information":

    OS: Windows 10 Version 1909 [winnt version 10.0.18363]
    Architecture: x86_64; 
    Plugin information:
    + ClangFormat                       4.14.0
    + ClangTools                        4.14.0
    + CppTools                          4.14.0
    + Cppcheck                          4.14.0
    Qt Creator 4.14.0
    Based on Qt 5.15.2 (MSVC 2019, 64 bit)
    From revision 909f74dc56
    Built on Dec 17 2020 07:57:05
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved