mechatroner / vscode_rainbow_csv

🌈Rainbow CSV - VS Code extension: Highlight CSV and TSV files in different rainbow colors to make them more readable
MIT License
410 stars 50 forks source link

Add support for PSV files (pipe-separated values) #94

Open aaronfranke opened 3 years ago

aaronfranke commented 3 years ago

Currently, it's possible to do this by opening the .psv and setting the language to "CSV (pipe)", but it would be nice if it supported PSV directly (maybe the language name would be "PSV" instead of "CSV (pipe)").

mechatroner commented 2 years ago

Thanks, and sorry for the late reply. VSCode theoretically supports filetype aliases but in practice, it doesn't work for some reason e.g. I can't add csv (TAB) alias to TSV dialect without completely hiding TSV name from the language selection menu. Once this gets fixed in VSCode I will add PSV alias, although this abbreviation is not very popular, I would be happy to do my part in promoting it. P.S. I tried to find a bug about broken alias logic in VSCode issue list but it seems like nobody reported it yet, so the next step should be opening a ticket there.