vscode_rainbow_csv icon indicating copy to clipboard operation
vscode_rainbow_csv copied to clipboard

Add an option for an independent color for delimiters

Open windless0530 opened this issue 6 years ago • 1 comments

Just a suggestion:

Current behavior: each column with the following delimiter is an independent color Expected behavior: each column without delimiter is an independent color, and all delimiters are of one independent color, light gray for example.

An option can be provided to turn this on and off.

windless0530 avatar Feb 19 '19 04:02 windless0530

Current behavior has one important advantage: when some fields have zero length they are still visible and distinguishable because of distinct coloring.

But I agree that coloring delimiter in some neutral (light gray) color can be implemented as a feature. Problem is: language grammars are not configurable (at least until https://github.com/Microsoft/vscode/issues/53885 is implemented). The only possible way to implement this, that I am aware of, is to use setDecorations VSCode Api.

BTW you can try to use Highlight extension, probably it can be configured to highlight delimiters in neutral color.

mechatroner avatar Feb 19 '19 04:02 mechatroner