No announcement yet.

Feature Request -- Intelligent Leading Whitespace

  • Filter
  • Time
  • Show
Clear All
new posts

  • Feature Request -- Intelligent Leading Whitespace

    In some code that I work on, there is often a mix of leading whitespace within the same file. Some sections use spaces, while others use tabs. Some popular text editors insert whitespace matching the previous line, whenever a new line is added. Beyond Compare indents to the correct level, but only using the whitespace method configured for the file format.

    So, for instance, if I have a section that looks like:
    ...and I hit <Enter> after the "asdf", these editors will insert two tabs.

    Where I have leading spaces, they will insert spaces, instead.

    And if I have <tab><space><space>, they will insert the same before the new line.

    Can you consider a new whitespace option that would automatically match context?

  • #2
    Thanks for the feedback. I'll add this style of auto-indenting to our Customer Wishlist.
    Aaron P Scooter Software