You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, it is logical problem: where to store information about delimiter (comma vs semicolon )
Option A: support more than one (any of delimiters in list.)
Option B: use different filename extension, e.g. .csv, .ssv and so on.
Option C: per project settings (I think it less favorable)
paulvi
changed the title
Allow to configure separator and quote characters
Allow to configure separator and quote characters per-file and/or per-project
Dec 21, 2017
Many plug-ins allows to save per-file preferences.
I'm not sure whether Eclipse now has built-in support for this but what I saw is that other plug-ins create a file in /project/.settings/plug.in.id.prefs and inside they save per-file options.
The resource plugin uses this format:
encoding/path=UTF-8
The path is relative to the project root:
encoding//src/main/java=UTF-8
which is good enough for simple stuff.
Other plugins use
path=encoded options
where "encoded options" is all the options somehow compressed into a single string.
In this case, since we only have a few options, I think this approach might work:
I have a mix of CSV files (some with comma, some with semi colon).
It would be great if there was a per-file and per-project preferences where I can specify the defaults.
Right now, I can just do this globally.
Related to #7
The text was updated successfully, but these errors were encountered: