Disable formatting per-method (via pragma?)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Disable formatting per-method (via pragma?)

Peter Uhnak
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