collapse specified xml-Tags on file opening
-
Hi folks,
I’m working with files with an specific file-ending but actually its xml code so I use the Language “XML” to format it. In my files, there is always a code block named “Fonts”.Is there a way that whenever I open a file with that ending, the code block is automatically folded?
I searched all over Google and the forum but didn’t find a solution to my question.
-
In native Notepad++, no.
If you installed the PythonScript plugin, then a script could be written (and run every time a file is opened with the specific extension you specified) to search for the Fonts block and fold that level.