Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSV doesn't respect .editorconfig tabsize #257

Open
enerjazzer opened this issue Feb 19, 2021 · 1 comment
Open

TSV doesn't respect .editorconfig tabsize #257

enerjazzer opened this issue Feb 19, 2021 · 1 comment

Comments

@enerjazzer
Copy link

Looks like tsv files are displayed as tab size was 1 (at least in the diff windows), even if there is an .editorconfig setting with some other tabsize.
If I change the extension to .txt the IDE correctly displays them with tabsize according to the .editorconfig setting (but, obviously, your plugin doesn't kick in).

(Ideally, of course, tsv should be displayed as 'column -t' does, with a flexible tab stops per column)

@SeeSharpSoft
Copy link
Owner

The .editorConfig is generally acknowledged. However, some of the settings are fixed for CSV files on purpose, like never wrap any lines, enable tab character in general, etc. The tab size fixation to 1 character is done for the "tabularize" formatting, which doesn't work with variable value separator length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants