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. Qtcreator left side of assignment snippet
QtWS25 Last Chance

Qtcreator left side of assignment snippet

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
editorsnippetshortcutsqtcreator
3 Posts 2 Posters 1.2k 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.
  • S Offline
    S Offline
    statquant
    wrote on 22 Jul 2016, 12:37 last edited by
    #1

    Hello,
    I come from Java and IntelliJ-IDEA.
    There is a cool feature that this IDE have that I failed to find in qt creator: automatic left side snippet

    Example:

    double a =1;
    a+1 # <- here qtcreator knows a+1 is a double so it should be able to give me on a CTRL+Alt+V (that's the IntelliJ shortcut)
    [double ... = a+1;]

    With this you hardly have to type left side of assignations again...

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 26 Jul 2016, 10:05 last edited by
      #2

      @statquant said:

      [double ... = a+1;]

      That is what the suggestion give?

      So that all you type is B
      and you get
      double B = a+1;

      Else im not sure what it suggests :)

      S 1 Reply Last reply 27 Jul 2016, 11:44
      0
      • M mrjj
        26 Jul 2016, 10:05

        @statquant said:

        [double ... = a+1;]

        That is what the suggestion give?

        So that all you type is B
        and you get
        double B = a+1;

        Else im not sure what it suggests :)

        S Offline
        S Offline
        statquant
        wrote on 27 Jul 2016, 11:44 last edited by
        #3

        @mrjj Yes exactly
        Now if it is:
        [ALongClassname::const_reverse_iterator ... = ] stuff.rbegin();
        Is it more usefull ?

        1 Reply Last reply
        1

        1/3

        22 Jul 2016, 12:37

        • Login

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