Atom Editor: Fold selection onto single line -
is there way in atom fold entire selection on new line? i'm trying make package lets me select multiple lines of code , fold them. markup this:
/* text colors */ .text-red { color: red; } .text-green { color: green; } .text-blue { color: blue; } /* typography */ h1 { font-size: 30px; }
and when fold it, this:
/* text colors */ [...] /* typography */ h1 { font-size: 30px; }
this way can view looks of sections in code @ same time. i've tried using foldselectedlines
unfortunately ends folding this:
/* text colors */ .text-red {[...] /* typography */ h1 { font-size: 30px; }
its ctrl-alt-f on linux & windows or ctrl-⌥-⌘-f on mac.
also in atom press ctrl-shift-p (or ⌘-shift-p on mac) open command palette , type fold
list of possible fold options , related keyboard shortcuts.
Comments
Post a Comment