[TxMt] Re: How to break long line of code into multiple lines?

Tuk Bredsdorff tuk at tiktuk.net
Wed Jan 3 09:55:38 UTC 2018


Hi Attila,

> 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
> 
> 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 was aware of that possibility but thanks anyway ☺️ .

It’s just a lot of keypresses to select, bring up the Find dialog, type in the two strings and so on. I am looking for a shortcut to that. But for many lines it would be worth if of course.

Cheers,
Tuk



More information about the textmate mailing list