How to get editor to display tab char separated columns of a csv/tsv file as aligned

已回答

Is there a way to get Intellij to display (without changing tabs to spaces in the file) tab separated columns as columns aligned to the nearest tab width setting (ideally width is configurable, but anything reasonable, eg 4, would be good).

For example, tsv extension file containing the lines:

foo<tab>bar<tab>baz
some<tab>thing<tab>else

Appears (without altering the file's context) as something like:

foo     bar     baz
some thing else
0

Try to use "Smart tabs" feature in code style for the language you use: https://i.imgur.com/ept7vor.png

See the documentation at https://www.jetbrains.com/help/idea/code-style-java.html

1

After uninstalling CSV plugin, smart tabs worked!  Thanks Konstantin Annikov

0

请先登录再写评论。