This PR adds options from csv-stringify to the extension settings, allowing users to customize the format of the generated CSV when exporting. The new settings are all in the group sqltools.csvExport, which allows to directly pass all values at once to csv-stringify. The default settings reflect the current option values.
The changes made here partly close #739. I was planning to add an option to change the CSV field separator and ended up adding some additional related options that might be useful to tweak the resulting CSV. In #739, the decimal separator is also mentioned. I don't handle this here, as it does not seem specifically related to the CSV format (could also apply to the JSON export).
Thank you for your contribution!
Before submitting this PR, please make sure:
[x] Your code builds clean without any errors or warnings
[x] You have made the needed changes to the docs
[x] You have written a description of what is the purpose of this pull request above
This PR adds options from csv-stringify to the extension settings, allowing users to customize the format of the generated CSV when exporting. The new settings are all in the group
sqltools.csvExport
, which allows to directly pass all values at once to csv-stringify. The default settings reflect the current option values.The changes made here partly close #739. I was planning to add an option to change the CSV field separator and ended up adding some additional related options that might be useful to tweak the resulting CSV. In #739, the decimal separator is also mentioned. I don't handle this here, as it does not seem specifically related to the CSV format (could also apply to the JSON export).
Thank you for your contribution! Before submitting this PR, please make sure: