Tab munging on load and save

  • I want to configure Notepad++ to convert leading spaces (4-at-a-time) to tabs (HTs) whenever a text file is loaded, and replace all tabs by (appropriate qty of) spaces when saving.

    Rationale: I want spaces in files for portability, but tabs when editing (much easier to select indented lines for copy, drag etc.).

    Is this feasible? would it require a custom plug-in? How can I achieve it? Any workaround?

Log in to reply