Is it possible to view csv and tsv files with column padding such that the columns align nicely?

Viewed 728

I'm aware that there exist extensions that provide an excel-like view of the file, but that is not what I'm looking for. I would like to work in the text editor, and have the columns visually aligned. Not by modifying the file to add padding spaces to the columns, but just visually, leaving the file intact.

Example:

H1,H2,H3
a,asdfasdf,b
aasdfas,b,asdsdfd

What I would like to see:

H1,      H2,       H3
a,       asdfasdf, b
aasdfas, b,        asdsdfd
1 Answers

Have a look at Edit csv:

edit csv extension demo

You can edit your files in a column-aligned view and then apply them to the underlying file. It does look excel-like but it isn't modifying your file into columns. I haven't found a lighter-weight extension to do the same thing.

Related