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. Creator: Quickly disable auto-indent?
Forum Updated to NodeBB v4.3 + New Features

Creator: Quickly disable auto-indent?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 843 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
    Asperamanca
    wrote on last edited by
    #1

    95 % of the time, I am very happy with my indentation settings. But there are times when it drives me nuts: For example, when I re-format a larger paragraph, and I know that my code misses some brackets, braces and semicolons while I reformat it, the auto-indent does it's best to make my life miserable.

    In VS, I can hit "undo" to undo only the auto-indent changes, but things do not seem to work like this in Creator.

    Is there an option to quickly disable auto-indent (best of all: a keyboard shortcut), and re-enable it once I am done with my text-shredding pursuits?

    JonBJ 1 Reply Last reply
    0
    • A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #2

      I just wanted to write this post, and discovered, I've had the same issue more than 6 years ago :-(
      Are there any new options in the meantime?

      1 Reply Last reply
      0
      • A Asperamanca

        95 % of the time, I am very happy with my indentation settings. But there are times when it drives me nuts: For example, when I re-format a larger paragraph, and I know that my code misses some brackets, braces and semicolons while I reformat it, the auto-indent does it's best to make my life miserable.

        In VS, I can hit "undo" to undo only the auto-indent changes, but things do not seem to work like this in Creator.

        Is there an option to quickly disable auto-indent (best of all: a keyboard shortcut), and re-enable it once I am done with my text-shredding pursuits?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @Asperamanca said in Creator: Quickly disable auto-indent?:

        Is there an option to quickly disable auto-indent (best of all: a keyboard shortcut), and re-enable it once I am done with my text-shredding pursuits?

        Not to the best of my knowledge :)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Asperamanca
          wrote on last edited by
          #4

          Well, I posted a suggestion for "undo indentation /formatting only" via Qt Support now...

          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