-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown heading folding - clicking anywhere in document un-folds everything #664
Comments
I can't reproduce this behavior and it is not designed to work like that. You could call |
This seems to be a bug which happens when you first install the package and haven't yet restarted Sublime Text. Can be reproduced by
When you haven't restarted Sublime the auto link folding doesn't seem to work either.
|
Thank's for the info. I can reproduce it. The issue seems to be caused by link auto folding. |
Hey all, sorry for the late response! I launched an initiative campaign last week and things got busy 🙂 I just confirmed that this goes away after the first restart (which I hadn't done), so my experience is the same as simosdev's. deathaxe, thanks a ton for being so responsive and for all your hard work on this and other repos. |
I, too, confirm that the bug appears after initial installation of the plugin and goes away after ST is restarted. |
Anyone actually using heading folding with Markdown? If I fold a heading (with Shift+Tab or right-click, MarkdownEditing, "Fold current section"), that folding state only lasts until I click anywhere else in the document (even in content in an unrelated heading). As soon as I click anywhere else, it's unfolded.
There doesn't appear to be any package settings to change this behavior, and it occurs with global folding as well. If I do "Fold all headings," as soon as I click anywhere in the document, all headings are unfolded again.
This behavior seems close to useless other than as a last-resort way to navigate within a document.
Is anyone actually using heading folding with Markdown? If so, what do you use it for? Am I missing a way to preserve each heading's folding status separately, so the document can be partially-unfolded while it's actually used? That seems like the entire use case for Markdown heading folding - to show the portion of a document you're working on and collapse the rest - but that doesn't appear to be possible.
I'd love to hear that I missed something in the docs (and if I did, I'll make a PR to clarify the behavior for future users). Thanks.
The text was updated successfully, but these errors were encountered: