Sublime-Text-Advanced-CSV icon indicating copy to clipboard operation
Sublime-Text-Advanced-CSV copied to clipboard

Making auto_quote system false by default

Open VictorShima opened this issue 7 years ago • 1 comments

First of, Thank you very much for working on this plugin!

When using auto_quote: true the following piece of CSV will have its quotes removed when a CSV > Compact columns is used:

oranges,"tasty
fruits"
apples,"delicious treats"

Becomes:

oranges,tasty
fruits
apples,delicious treats

It seems like the command is not respecting line breaks inside quotes, turning a valid CSV with 2 rows into an invalid CSV with 3 rows. The Section 2.6 of a CSV Standard describes the usage of line breaks inside quotes.

Removing the auto_quote configuration makes it work wonderfully out-of-the-box. Other issues also seem to suggest that the auto_quote is having couple of edge cases and past problems.

Would you consider making auto_quote disabled on default?

VictorShima avatar Mar 20 '18 17:03 VictorShima

Hi @VictoryShima - thanks for the report! I'll investigate the bugs with auto quote and will consider disabling it.

wadetb avatar Mar 28 '18 00:03 wadetb