Closed acheronfail closed 6 years ago
Nice update @acheronfail. I'll add you as a collaborator so you can keep updating this. ;)
Thanks @RIDE-2DAY, really appreciate that! 😄
I'll make sure this is fully tested, and then publish a new release of it. 👍
This PR adds in the extra command
AutoFoldCode: Unfold All Open Files
. Sublime Text already has a command to unfold the current file, so we don't need to implement that command.Also, this updates the
AutoFoldCode: Clear All
command, so that it unfolds all folded regions in all open views as well (before it would just clear the cache, and if you ranClear All
without unfolding the regions then it would re-cache the folded regions).It also make some changes to the code:
_
plugin_loaded
to be exported, but none of the other functions need to be exported. So, since they're file-specific, why not make the code clear and reflect that?plugin_loaded
is called when there are unnamed views (like Find Results, etc)