It's not that it can't handle it. It does it for Python.
How can I ask it to do the same with other languages?
menu TextFX → TextFX Edit → Reindent C++ code. TextFX should be installed by default. Save this answer.
Now you can use shortcut key CTRL+ALT+SHIFT+B to indent the code.
I believe this is hardcoded into Scintilla's lexers for Python and other languages respectively (Scintilla is the editing component that Notepad++ uses), so you can't change this with some configuration setting.
The relevant documentation I found for folding mostly points to writing lexers for Scintilla. See the home page for some links.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With