mechatroner / vscode_rainbow_csv

🌈Rainbow CSV - VS Code extension: Highlight CSV and TSV files in different rainbow colors to make them more readable
MIT License
426 stars 51 forks source link

Clicking Rainbow CSV on CSV files does nothing and removes the tray items #139

Open driskell opened 1 year ago

driskell commented 1 year ago

Possibly this is due to the size of the CSV but they're not really that big. I've also tried with large file optimisations disabled. One file is ~ 15MB 55000 rows.

When you click "Rainbow OFF" the icons just disappear. There is no notice, no error, no log, developer tools shows nothing. So not sure what I can provide here to assist in diagnosing the issue.

mechatroner commented 1 year ago

Does highlighting disappear too? If it does then it is actually WAI, the idea is that autodetection can sometimes produce a "false positive" and in that case I wanted to completely remove all traces of the extension UI to reduce the potential annoyance. But it looks like many people consider this a bug rather than a nice feature, so I will probably adjust the behavior and keep "Rainbow On" button that would restore other icons when clicked.

driskell commented 1 year ago

Does highlighting disappear too? If it does then it is actually WAI, the idea is that autodetection can sometimes produce a "false positive" and in that case I wanted to completely remove all traces of the extension UI to reduce the potential annoyance. But it looks like many people consider this a bug rather than a nice feature, so I will probably adjust the behavior and keep "Rainbow On" button that would restore other icons when clicked.

Sorry what is WAI? This doesn’t happen due to auto detection so maybe that’s something else. It happens when I interact with “Rainbow Off” and click it. Rather than saying “Rainbow On” after interacting it all disappears like it crashed. And yes highlighting does all vanish. I wouldn’t click it if the file wasn’t a CSV file. If there’s a way I can diagnostics let me know 👍 and thanks for the response.