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. QtC autocomplete
Forum Updated to NodeBB v4.3 + New Features

QtC autocomplete

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 836 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    amigo421
    wrote on last edited by
    #1

    Hi

    is there ability to do this:

    if I'm writing something like :
    @struct my_structt {
    std::string s1;
    double d1;
    int i1;
    std::string;
    };@

    and using this somewhere in the code
    @...
    my_struct t;
    std::string _s = t. @

    I'm expecting that QtC will show me two fields only after last dot typing - only which ones have a string type,
    however I see all available fields of struct...
    probably there is some option to "hide other type fields from tip"?

    similar question :
    is there ability to highlight the includes which are not more required?
    some shortcut to clean unused stuff up?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      1. AFAIK, no, but you could check with the Qt Creator devs on either the dedicated mailing list or IRC channel
      2. Again, not that I know of, and it would be pretty complicated to implement. If you take e.g. Apple's includes, they are generally covering a set of classes/functionalities so you generally don't use specific includes, how would you automatically cleanup ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        amigo421
        wrote on last edited by
        #3

        As far as I remember, CLion does both points
        Eclipse does second one.
        It doesn't look complicated to check that file contains no one reference to declarations in given header, no?

        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