Hi all,
Are there any plans to add code fold guides to TextMate 2 (as shown here: http://darwinsantos.com/sublime_screen.png)?
I know a workaround to get a similar effect is to use "Show Invisible Characters". Though the problem with this is that a lot of files written by others lack proper tab indentation.
Any other workarounds to get a similar effect?
Many thanks, S.P.
I agree that it would be a useful addition to Textmate. To some extent, having fold guide lines would also alleviate the issue I ponted out in a previous email (http://textmate.1073791.n5.nabble.com/Show-current-scope-block-but-not-Textm...).
Cheers, Guido
-- View this message in context: http://textmate.1073791.n5.nabble.com/Code-fold-guides-tp27948p27954.html Sent from the textmate users mailing list archive at Nabble.com.
The solutions I've found piggy backed on the scope selectors in TextMate. This has the side effect of the guides not being visible on lines with no whitespace.
Here's a stack overflow question in which I describe how to get this working http://stackoverflow.com/questions/17463270/column-indentation-guide-on-text...
I was even maintainting a fork https://github.com/loadedsith/textmate%C2%A0that had a rudimentary fold guide support, it worked the same as the above just a little prettier. It worked by adding a new font state, as in bold and italic, and drawing a vertical line at the beginning of the fold-guide scope selector. Unfortunately they broke in a recent build and I've not fixed it (yet). Should anyone wish to carry the torch, the commit that actually made it work (while it worked) was https://github.com/loadedsith/textmate/commit/2a7239047217d35696494040c131e9...
I asked Allen once if he'd pull it in to the main branch, he felt it would need to be a setting, unfortunately its not something I've been able to do.
-- graham.p.heath@gmail.com
On June 13, 2014 at 8:45:13 AM, coccoinomane (coccoinomane@gmail.com) wrote:
I agree that it would be a useful addition to Textmate. To some extent, having fold guide lines would also alleviate the issue I ponted out in a previous email (http://textmate.1073791.n5.nabble.com/Show-current-scope-block-but-not-Textm...).
Cheers, Guido
-- View this message in context: http://textmate.1073791.n5.nabble.com/Code-fold-guides-tp27948p27954.html Sent from the textmate users mailing list archive at Nabble.com.
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I run a fork of TextMate that adds fold guys (even theme-able), but as I don't really do C++ it is just a semi-complete implementation that only supports leading tabs:
So yes, I'd like to see official support as well.
Gerd
On Jun 12, 2014, at 7:39 AM, Spiros Philopoulos sphilopoulos@gmail.com wrote:
Hi all,
Are there any plans to add code fold guides to TextMate 2 (as shown here: http://darwinsantos.com/sublime_screen.png)?
I know a workaround to get a similar effect is to use "Show Invisible Characters". Though the problem with this is that a lot of files written by others lack proper tab indentation.
Any other workarounds to get a similar effect?
Many thanks, S.P.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Please add my vote for this feature. It makes deeply nested code so much easier to mentally parse.
-- View this message in context: http://textmate.1073791.n5.nabble.com/Code-fold-guides-tp27948p28964.html Sent from the textmate users mailing list archive at Nabble.com.
i would like to have this, too ... @gerd looks really good!
2015-02-12 19:30 GMT+01:00 bobrocke bob@bobrockefeller.com:
Please add my vote for this feature. It makes deeply nested code so much easier to mentally parse.
-- View this message in context: http://textmate.1073791.n5.nabble.com/Code-fold-guides-tp27948p28964.html Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate