intellij-csv-validator icon indicating copy to clipboard operation
intellij-csv-validator copied to clipboard

[Suggestion] Add an option to recognize txt files as csv by path pattern

Open enerjazzer opened this issue 4 years ago • 1 comments

I have a program that creates a lot of files, and some of them are actually in csv/tsv format. The problem is that all the files have the .txt extension so they are not recognized as csv/tsv. Would be great if I could specify path patterns that would force recognition of the matching files as csv/tsv, automatically.

enerjazzer avatar Feb 16 '21 02:02 enerjazzer

This is not how IntelliJ indexes files: A file type is bound to certain file extensions and the corresponding language and its supported editor features kicks for the recognized file type.

Here is a similar request for IntelliJ itself: https://youtrack.jetbrains.com/issue/IDEA-113835

I guess the reason why nothing happened on this issue for such a long period of time is, that it probably requires some core rework of IntelliJ file indexing. IMHO this needs to be solved on IDE level (first).

SeeSharpSoft avatar Feb 16 '21 19:02 SeeSharpSoft