This is an EditorConfig plugin for Notepad++.
If you have Notepad++ Plugin Manager installed (usually installed by default in Notepad++), you can install in this way.
Launch Notepad++, click on the Plugins menu, then
Plugin Manager -> Show Plugin Manager. In the Available tab, find
EditorConfig in the list, check the checkbox and click on the Install
button.
-
Download the binary package from the SourceForge downloads page.
-
Extract the compressed archive and copy the corresponding dll into your Notepad++ plugin directory(the unicode dll if your Notepad++ version is unicode or the ansi one if you're using the ansi version Notepad++).
Before installation, you must have both cmake and Microsoft Visual C++ installed.
-
Download the EditorConfig core and follow the instructions in the README and INSTALL files to compile and install it with Microsoft Visual C++.
-
Download the EditorConfig plugin for Notepad++ and extract it.
-
Open your command line prompt, and use
cdcommand to switch current working directory to the root of the source tree of the Notepad++ plugin. Use the following command to generate the project file:C:\path\to\editorconfig-notepad-plus-plus> cmake . -DEDITORCONFIG_CORE_PREFIX="$(The_path_to_EditorConfig_core_prefix)"After this project file is built, double click on the project file and use Microsoft Visual C++ to build it.
-
If the build succeeded, you should have
bin\unicode\NppEditorConfig.dllandbin\ansi\NppEditorConfig.dllin your build tree. Copy the corresponding one (the unicode one if your Notepad++ is unicode version or the ansi one if your Notepad++ is ansi version) to your the plugin directory of the Notepad++ directory to complete the installation.
The EditorConfig Notepad++ plugin supports the following EditorConfig properties:
- indent_style
- indent_size
- tab_width
- end_of_line
- root (only used by EditorConfig core)
Feel free to submit bugs, feature requests, and other issues to the main EditorConfig issue tracker.