vscode_rainbow_csv icon indicating copy to clipboard operation
vscode_rainbow_csv copied to clipboard

single space as delimiter

Open kew24 opened this issue 2 years ago • 1 comments

Currently, with whitespace as a separator, consecutive whitespaces are merged. However, if I have a file that is delimited by single spaces, I can't seem to make it recognize I want a single space as my delimiter.

Is there any way to specify I want a single space character as my delimiter, or is this restricted to just any whitespace? Maybe adding a setting to toggle off consecutive whitespace merging would work instead. Let me know what you think.

Thanks for this extension — it's been super helpful.

kew24 avatar Mar 16 '23 16:03 kew24

Thanks for the feedback! Technically it should be doable, although as I remember there are a lot of places in the code that have special handling of whitespaces by default. Also, it is not obvious how to reflect the choice between merge/no-merge on the UI level. I will try to take a look at it when I have some available time.

mechatroner avatar Mar 17 '23 00:03 mechatroner

Done, starting from version 3.12 you can use Set rainbow separator command to select the whitespace separator with a non-merging policy in the new UI.

mechatroner avatar Jun 03 '24 01:06 mechatroner

Awesome, thanks for adding this in!

kew24 avatar Jun 03 '24 17:06 kew24