Off button
Dear developers of vscode rainbow csv,
under the file you have a button called turn rainbow csv off. but if it is off i cant find the on button. please help.
Hi @Blurp-06 , You can turn the highlighting back on by either:
- Clicking language button in the lower right corner of your editor and choosing the appropriate rainbow syntax (see the table in plugin description)
- Selecting the separator character with mouse cursor -> right click -> "Set as Rainbow separator"
I didn't add the "Rainbow On" button because the "Rainbow Off" was supposed to be used when Rainbow CSV incorrectly detected non-csv file as csv and the user would want to completely disable Rainbow CSV for that file, leaving "Rainbow On" button could be a little annoying.
I clicked "Rainbow OFF" instinctively because I thought it was a toggle that was indicating the current state to be off. The word OFF being in all caps had me convinced it was a status indicator. I would have been less confused if it said "Turn off Rainbow".
Just giving a feedback, I've been through the same (accidentally tapping turn off rainbow) and had to get here to find the solution.
I have to agree with dnut, the same happend to me. I was able to "re-enable" by going with option 2 above. Thanks love the extension.
Once 'Rainbow OFF' is clicked, is that stored somewhere? If I close and re-open the file, it is not detected as Rainbow. I can select a comma and choose 'Set as Rainbow Separator' and the file will be rainbow'ed until I close and re-open it again, and then it still won't be automatically rainbowed. How do I 'unflag' a file as being 'Rainbow OFF'?
Thanks for the bug report, @elbrandt. I will make sure to fix this in the next release. EDIT: BTW a current workaround for this is to restart the editor itself, this will unflag the file.
Actually, it might be better to solve this problem in coordination with VSCode team, I just opened a ticket there: microsoft/vscode#136263