Feature Request -- Intelligent Leading Whitespace

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pagej97
    Visitor
    • Apr 2014
    • 6

    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:
    <tab><tab>asdf
    ...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?
  • Aaron
    Team Scooter
    • Oct 2007
    • 16000

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

    Comment

    Working...