[TxMt] Re: How to break long line of code into multiple lines?
attila.gyorffy at gmail.com
Wed Jan 3 09:47:12 UTC 2018
Hi there Tuk,
I usually just find a delimiter (in your case a comma) and replace them with a newline regexp (\n).
See in the video I’ve quickly put together: https://v.usetapes.com/ZFDCAjpx2i <https://v.usetapes.com/ZFDCAjpx2i>
There may be quicker methods (that I’m unaware of) but this is admittedly far faster than having to manually go through each line.
I develop software.
attilagyorffy.com <http://attilagyorffy.com/> | @attilagyorffy <http://www.twitter.com/attilagyorffy> | | in/attilagyorffy <http://linkedin.com/in/attilagyorffy> | github.com/attilagyorffy <http://www.github.com/attilagyorffy>
Every time you print an email, a tree is marked for death.
Trees provide O2. You need that to breathe, remember? 🌳
> On 2018. Jan 3., at 10:34, Tuk Bredsdorff <tuk at tiktuk.net> wrote:
> is there a quick way to transform for instance
> [Role, User, UserRole, SourceAddress, BulkMessage, Message, SingleSMSTemplate, Company, Contact]
> (In this case it's Python but it could be more or less any language.)
> I do this so often manually, there must be a better way?
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate