Disable formatting per-method (via pragma?)
May 6, 2016
8:29 a.m.
Hi, I use formatter all the time as I like to have uniform code. Because it's not perfect I sometimes purposefully replace things like {(#a -> #b). (#c -> #d)} with Array with: #a -> #b with: #c -> #d just so I have better control of the formatting... However sometimes (especially for code intended for playground) it's best to not apply the formatting at all. As I have already developed the habit of autoformatting it's a bit hard to not apply it sometimes. Would it be possible to add a pragma to the method or something... <BlueInk: #disabled> or something that wouldn't apply the formatting? Thanks, Peter
3738
Age (days ago)
3738
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Uhnák