This is the only thing I really don’t like about sublimetext.
The folding works ok for indentation based languages like python, but that’s not my primary language.
I typically work with crappy hardware languages like VHDL and verilog/systemverilog.
The syntaxfold plugin seems to work ok for some languages but it currently doesn’t work for a few special characters. Namely [ ] or ( ).
I think I’m pretty much going to have to branch my own version of syntaxfold or open an issue on a plugin that’s 2 years old to fix this, but it still seems like a pretty basic thing that ST is missing.
Are there any plans in the near future to implement this or at least expose the API so plug ins can control folding more elegantly?