Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chocobo1/nppautodetectindent
Auto detect indention plugin for Notepad++
https://github.com/chocobo1/nppautodetectindent
indention notepad-plus-plus notepad-plusplus-plugin notepadplusplus plugin spaces tabs
Last synced: 2 months ago
JSON representation
Auto detect indention plugin for Notepad++
- Host: GitHub
- URL: https://github.com/chocobo1/nppautodetectindent
- Owner: Chocobo1
- License: gpl-3.0
- Created: 2017-03-12T16:30:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T16:18:14.000Z (almost 3 years ago)
- Last Synced: 2024-10-13T18:41:09.155Z (3 months ago)
- Topics: indention, notepad-plus-plus, notepad-plusplus-plugin, notepadplusplus, plugin, spaces, tabs
- Language: C++
- Homepage:
- Size: 59.6 KB
- Stars: 38
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Auto Detect Indention Plugin for [Notepad++](https://notepad-plus-plus.org/) [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/Chocobo1/nppAutoDetectIndent?branch=master&svg=true)](https://ci.appveyor.com/project/Chocobo1/nppAutoDetectIndent)
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
1. If you are running Notepad++ 7.6 or later:
* You are encouraged to use [Plugins Admin](https://npp-user-manual.org/docs/plugins/#install-using-plugins-admin) for installation.
* For manual installation instructions, read: [Install plugin manually](https://npp-user-manual.org/docs/plugins/#install-plugin-manually)
2. If you are running Notepad++ version prior to 7.6: \
Download and extract the archive from below and move `nppAutoDetectIndent.dll` into Notepad++ `plugin` folder.
* For Notepad++ x86: `C:\Program Files (x86)\Notepad++\plugins` \
* For Notepad++ x64: `C:\Program Files\Notepad++\plugins`## Download
[Releases page](../../releases)## Why
Many projects have differnet coding style requirements, some use tabs other prefer spaces. \
And there is this holy war of [tabs or spaces](https://wiki.c2.com/?TabsVersusSpaces).I first discovered this function in [Geany editor](https://www.geany.org/): [detecting-indent-type](https://geany.org/manual/dev/#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](https://editorconfig.org/), it just works!## Compiler
Visual Studio 2022 Community## License
See [LICENSE](./LICENSE) file