-
Notifications
You must be signed in to change notification settings - Fork 20
Add sections folding #7
Comments
Certainly an interesting idea. To me this seems valuable not just for sections, but also for codeblocks and other grouped lines. |
👍 |
Apparently Atom currently only supports folding based on indentation, rather than any form of grammar-defined folding. See this forum discussion: https://discuss.atom.io/t/how-to-modify-javascript-grammar-to-support-indent-level-folding/19039 and this original issue description: atom/first-mate#48 |
This would truly be amazing. Folding has evaded us in the AsciiDoc world, even in VIM. It would be a killer feature for the Atom editor. Too bad Atom doesn't do folding based on the grammar alone. Seems like a reasonable thing to support. |
Being able to fold the attribute entries in the document header would be an absolute game changer. That seems like the simplest place to start. |
Interesting to note that folding already works for block comments and consecutive line comments. |
Last time I checked folding was based on indentation. Has anything changed? |
Seems like it. Or perhaps comments get special treatment. I just noticed it when I was editing. |
Moved to asciidoctor/atom-asciidoc-assistant#10. |
No description provided.
The text was updated successfully, but these errors were encountered: