Open zufuliu opened 1 week ago
建议增加一个自定义字符串参数,任何其他参数的附加功能都可以从这里面调用,比如
It is recommended to add a custom string parameter, from which additional functions of any other parameter can be called, for example
/s csv /option "{split:|,quote:\"}"
或者是给/s参数的内容增加一个分隔符,参数写在分隔符后面,比如
Or add a delimiter to the content of the /s parameter, and write the parameter after the delimiter, for example
/s "csv|{split:\|,quote:\"}"
建议增加一个自定义字符串参数
I'm planning to auto detect the delimiter with a naive method: https://github.com/zufuliu/notepad4-test/blob/main/script/Issue892.py
The result is good after test CSV files from https://github.com/ws-garcia/CSVsniffer
Implemented by 4243079afb8961896a7253e01d1b247a1aa3771f, please test latest build from https://github.com/zufuliu/notepad4/actions
Originally posted by @Mapaler in https://github.com/zufuliu/notepad4/issues/453#issuecomment-2418117328