Home Download Buy Blog Forum Support

column -t behavior, columnize tabs

column -t behavior, columnize tabs

Postby nachocab on Sat Nov 05, 2011 4:28 pm

Hi,
I was wondering if it's possible to show tabular data as columns, even when a particular value overflows the column width. Instead of:
Code: Select all
Col1    Col2
Short   Short
Longlonglong    Short
Short   Short

I would want to see:
Code: Select all
Col1            Col2
Short           Short
Longlonglong    Short
Short           Short


Thanks
nachocab
 
Posts: 23
Joined: Thu Jul 07, 2011 2:22 pm

Re: column -t behavior, columnize tabs

Postby spadgos on Sat Nov 05, 2011 6:11 pm

I'm not sure if this package does exactly what you're looking for, but it handles other sorts of alignment issues

http://wbond.net/sublime_packages/alignment
spadgos
 
Posts: 121
Joined: Thu Oct 06, 2011 12:49 am

Re: column -t behavior, columnize tabs

Postby nachocab on Sat Nov 05, 2011 8:03 pm

Thanks for your answer.

I think this means I would have to manually edit the original file. I was just looking for an automatic way to replicate the behavior of "column -t my_file" in the terminal
nachocab
 
Posts: 23
Joined: Thu Jul 07, 2011 2:22 pm

Re: column -t behavior, columnize tabs

Postby adzenith on Sun Nov 06, 2011 12:21 am

If you're using tabs there you could try this out: https://github.com/SublimeText/ElasticTabstops
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: column -t behavior, columnize tabs

Postby nachocab on Sun Nov 06, 2011 6:13 am

Awesome! Thanks!
nachocab
 
Posts: 23
Joined: Thu Jul 07, 2011 2:22 pm


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 16 guests