Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top