nppAutoDetectIndent
nppAutoDetectIndent copied to clipboard
Auto detect indention plugin for Notepad++
Auto Detect Indention Plugin for Notepad++ 
Detects indention (tab or spaces) and auto adjust Tab key on-the-fly
What It Does
| Indention used in file | Tab key |
|---|---|
| Tabs | 1 tab |
| For example: 3 Spaces | 3 spaces |
| Cannot determine | Depends on Notepad++ settings |
Installation
- If you are running Notepad++ 7.6 or later:
- You are encouraged to use Plugins Admin for installation.
- For manual installation instructions, read: Install plugin manually
- If you are running Notepad++ version prior to 7.6:
Download and extract the archive from below and movenppAutoDetectIndent.dllinto Notepad++pluginfolder.- For Notepad++ x86:
C:\Program Files (x86)\Notepad++\plugins\ - For Notepad++ x64:
C:\Program Files\Notepad++\plugins
- For Notepad++ x86:
Download
Releases page
Why
Many projects have differnet coding style requirements, some use tabs other prefer spaces.
And there is this holy war of tabs or spaces.
I first discovered this function in Geany editor: detecting-indent-type
I thought it's cool because you don't have to worry about having the correct settings in your editor nor need to care about setting up editorconfig, it just works!
Compiler
Visual Studio 2022 Community
License
See LICENSE file