DEPRECATED: see Indenture instead
Auto Detect Indention Plugin for Notepad++
Detects indention (tab or spaces) and auto adjust Tab key on-the-fly
Indention used in file | Tab key |
---|---|
Tabs | 1 tab |
For example: 3 Spaces | 3 spaces |
Cannot determine | Depends on Notepad++ settings |
- Extract the downloaded archive
- Depending on your Notepad++ version (x86 or x64), move the respective
nppAutoDetectIndent.dll
into Notepad++plugin
folder.
For Notepad++ x86:C:\Program Files (x86)\Notepad++\plugins
For Notepad++ x64:C:\Program Files\Notepad++\plugins
Latest version (x86 & x64 included)
Visual Studio 2017 Community
Chocobo1 first discovered this functionality in Geany editor: detecting-indent-type
Finding autodetection preferable to reliance on systems like editorconfig, he implemented the original version.
After using the plugin for some time, I became increasingly annoyed with the plugin failing to correctly identify the indentation width for files using spaces. I was able to note some ways that the accuracy could be enhanced, however Chocobo1 was not actively supporting his version (or at least uninterested in my contributions). Hence this fork.