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

Qtcreator left side of assignment snippet

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
editorsnippetshortcutsqtcreator
3 Posts 2 Posters 1.3k 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.
  • statquantS Offline
    statquantS Offline
    statquant
    wrote on 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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 :)

      statquantS 1 Reply Last reply
      0
      • mrjjM mrjj

        @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 :)

        statquantS Offline
        statquantS Offline
        statquant
        wrote on 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

        • Login

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