Code folding in Sublime Text - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Code folding in Sublime Text (/thread-32871.html) |
Code folding in Sublime Text - Mondata - Mar-12-2021 Sublime Text automatically adds a fold/unfold block when detecting commands like: if while def try I´d like to override this behaviour and define my own set of characters for folding/unfolding. Exactly, I want #+ to indicate the beginning of a folding block and #- to indicate the end. Is there a (not to complicated) way of achieving this in this editor? Many thanks. RE: Code folding in Sublime Text - Larz60+ - Mar-12-2021 You may get an answer on this forum, but probably quicker here: https://forum.sublimetext.com/ RE: Code folding in Sublime Text - Mondata - Mar-12-2021 Many thanks. Apparently it is not possible. https://forum.sublimetext.com/t/code-folding-in-sublime-text/56553/3 |