mechatroner/vscode_rainbow_csv

Context menu pollution: "preview big csv: head"

Closed this issue · 4 comments

FreHu commented

The extension adds this command to all right click menus in the file explorer, which is unnecessary. Could it please be changed to only show up for csv? There is also a contribution for Preview big csv: tail but for some reason this one does not appear in the menu for me.

It's actually possible to disable it in the settings (and enable the tail command). But I agree with you that current defaults are not perfect, I will try to think if it is possible to have a better balance between aesthetics and feature discovery.

Adding resourceLangId =~ /^[ct]sv/ to the corresponding when clause seems to fix this issue for non-csv files.

Thank you @ManuelHentschel, this sounds like a great compromise solution, I will implement the change.

Done, fixed in 2.4.0.