Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. remove empty lines - by option auto indent selection ?
Forum Updated to NodeBB v4.3 + New Features

remove empty lines - by option auto indent selection ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 310 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
    Anonymous_Banned275
    wrote on last edited by
    #1

    I have asked this long time ago and dropped my request.
    Is there an option to instruct / option "Auto indent selection" - in QT - to remove blank / empty source lines ?
    I mean internally , not by adding another "beautifier" .

    Christian EhrlicherC 1 Reply Last reply
    0
    • A Anonymous_Banned275

      I have asked this long time ago and dropped my request.
      Is there an option to instruct / option "Auto indent selection" - in QT - to remove blank / empty source lines ?
      I mean internally , not by adding another "beautifier" .

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AnneRanch said in remove empty lines - by option auto indent selection ?:

      Is there an option to instruct / option "Auto indent selection" - in QT - to remove blank / empty source lines ?

      No, you have to hit the 'DEL' key by yourself or don't add the empty lines in the first place.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      A 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @AnneRanch said in remove empty lines - by option auto indent selection ?:

        Is there an option to instruct / option "Auto indent selection" - in QT - to remove blank / empty source lines ?

        No, you have to hit the 'DEL' key by yourself or don't add the empty lines in the first place.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @Christian-Ehrlicher ...and what does this do ?

        f27ccdd6-1cd2-479f-ac1c-53e7a99e8bf8-image.png

        JonBJ 1 Reply Last reply
        0
        • A Anonymous_Banned275

          @Christian-Ehrlicher ...and what does this do ?

          f27ccdd6-1cd2-479f-ac1c-53e7a99e8bf8-image.png

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

          @AnneRanch
          Cleans whitespace from the beginning/end of lines, maybe swaps between tabs and spaces (and only on saving, not during "Auto indent selection"? Have you found that deletes any blank lines in your code? I would hope it does not!

          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