Home Download Buy Blog Forum Support

Multi-line comments, how to save them and restore?

Multi-line comments, how to save them and restore?

Postby green1000 on Fri Apr 19, 2013 10:19 am

ST2 allows to hide a block of code under a comment, it is done with "Ctrl+Shift+[".
But the state cannot be saved. When I open my code again blocks of code I hid under the comment previously are all opened.

How to configure ST2 not to un-comment commented code on each file open event?
green1000
 
Posts: 3
Joined: Fri Apr 19, 2013 10:12 am

Re: Multi-line comments, how to save them and restore?

Postby skuroda on Sat Apr 20, 2013 10:34 am

I think BufferScroll will save fold positions (among other things). It may be worth a look.
skuroda
 
Posts: 683
Joined: Fri Oct 05, 2012 8:11 am

Re: Multi-line comments, how to save them and restore?

Postby green1000 on Mon Apr 22, 2013 7:28 pm

skuroda wrote:I think BufferScroll will save fold positions (among other things). It may be worth a look.


That's what I was looking for. Works just fine. Thank you.
green1000
 
Posts: 3
Joined: Fri Apr 19, 2013 10:12 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 11 guests