I want to auto indent my text using Notepad++. Is there a way to do this? Or do I have to install any plugin?
I have tried all I know in Notepad++, but it seems things are not working. I have even used the shortcut key Ctrl + F, but that works fine in Eclipse, but Notepad++ gives a find textbox instead.
14 Answers
I want to auto indent my text using Notepad++. Is there a way to do this?
You need to enable "Auto-indent".
Prior prior to v7.8.3:
Later versions:
2You can use a plugin (IndentByFold).
You can either get it by going to
Plugins -> Plugins Admin
or from GitHub: IndentByFold.
I type some code, select it and then use:
menu TextFX → TextFX Edit → Reindent C++ code.
TextFX should be installed by default.
1Auto-indent stopped working for a bit when I accidentally started recording a macro. I stopped it by clicking the "stop recording" button at the end of the toolbar.