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

csv separator #254

Open
sank96 opened this issue Mar 1, 2021 · 3 comments
Open

csv separator #254

sank96 opened this issue Mar 1, 2021 · 3 comments

Comments

@sank96
Copy link

sank96 commented Mar 1, 2021

Hi, I have a csv file that use ; symbol as separator. Is it possible to set the semi column as separator instead of the comma?

@IainMNorman
Copy link

And I have many that use a tilde ~ as a separator.

Other extensions have a setting for an array of separators. That would be cool.

@LeMapper
Copy link

LeMapper commented Dec 13, 2021

I second this. Semicolons e.g. are in wide use outside the US. Other tools with less or different functionality provide the ability to choose the separator.
https://marketplace.visualstudio.com/items?itemName=mechatroner.rainbow-csv
https://marketplace.visualstudio.com/items?itemName=janisdd.vscode-edit-csv

As far as I see it, Data Preview works fine if you open the file directly with "Preview data". But it fails to recognize the columns, if you use "Preview Data On Side".
grafik

@RandomFractals
Copy link
Owner

@LeMapper Rainbow CSV is great. I use it myself.

You can also try Excel Viewer if this Data Preview extension doesn't work with your data files, or you want finer control over value separators and data formatting.

I am working on new vscode extension that will address some of those shortcomings in Data preview:

https://github.com/RandomFractals/tabular-data-viewer

Until then, I don't think I will find the time to mend and patch some of the most recent requests in this repo.

Thank you for your feedback and note about data on side. It could be related to #250.

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

4 participants