sonic-pi icon indicating copy to clipboard operation
sonic-pi copied to clipboard

Spider - Only remove one level of comments when uncommenting

Open misterfifths opened this issue 1 year ago • 0 comments

Perhaps this is undesirable, but I for one find it frustrating when the uncomment shortcut removes nested comments. E.g. code like this:

##| live_loop :dummy do
##|   # play the best note 
##|   play :c3
##| end

If I uncomment that presently, the nested # in line 2 is also removed. This change will only remove the outermost level of comments (##| or #).

misterfifths avatar Feb 10 '24 20:02 misterfifths