janisdd / vscode-edit-csv

vs code extension to edit csv files with an excel like table ui
MIT License
208 stars 30 forks source link

Error messages #158

Closed srfrnk closed 1 month ago

srfrnk commented 1 month ago

What OS?

Description

When opening a CSV getting the following messages:

Expected behavior

No error messags

What you'd expect to happen.

Steps to reproduce

A step by step guide how to reproduce this issue/bug.

janisdd commented 1 month ago

I'm not sure what you did, but it works for me on multiple machines. I forgot the defaults for initiallyHiddenColumnNames and initiallyHiddenColumnNumbers but dragToAutoFill should have to default none.

What do you see when you go to vs code Settings and search for initiallyHiddenColumnNumbers, initiallyHiddenColumnNames and dragToAutoFill, are there any values?

srfrnk commented 1 month ago

As you can see here these values do not appear in my settings file: image

This is a capture of the error messages:

image

If I try to set values it seems vscode doesn't know these:

image
janisdd commented 1 month ago

Do me a favor and open the settings via ui (cmd + ,) and search for initiallyHiddenColumnNames or just initially. Are the options initiallyHiddenColumnNames or initiallyHiddenColumnNumbers displayed?

What is your vs code and extension version?

srfrnk commented 1 month ago

They seem to show here but don't have any values:

image
code --version  
1.91.1
f1e16e1e6214d7c44d078b1f0607b2388f29d729
arm64
code --list-extensions --show-versions 
.
.
.
janisdd.vscode-edit-csv@0.9.2
.
.
.
janisdd commented 1 month ago

They should have no values by default. In the next version, I'll set the empty array as the default. However, it works on all my machines without an explicit default. But maybe you can add an element and remove it again?

By the way, have you tried reinstalling the extension?

srfrnk commented 1 month ago

Thanks @janisdd for some reason I can't reproduce this issue now. It was happening every time I use the plugin but now just doesn't ever. I'm happy with that "solution" so I'll close this now.