vscode-edit-csv icon indicating copy to clipboard operation
vscode-edit-csv copied to clipboard

extension not honoring my settings for "autoSave"

Open Morriz opened this issue 1 year ago • 4 comments

What OS?

  • Mac

Description

Changes are not saved according to my "files.autoSave": "onFocusChange" settings

Expected behavior

Save to happen

Morriz avatar Jan 18 '24 15:01 Morriz

None of the vs code settings affect the extension. This is intentional. Only the extension's own settings are taken into account.

I’m also not sure if this is even possible with an extension.

janisdd avatar Jan 18 '24 19:01 janisdd

aha, can it get a similar setting then? I don't understand why people still use the broken microsoft "save" paradigm when we can just undo something. It is sooooo against UX design principles...

Morriz avatar Jan 19 '24 14:01 Morriz

Well, I don’t know why having a „save“ button should be considered bad.

Saving a large file, say 100k lines, might take 2-3 seconds, which would mean a bad experience with "onFocusChange". Only after that amount of time would the actual contents of the file suddenly change.

However, I might look at this.

janisdd avatar Jan 19 '24 18:01 janisdd

I understand. I am never working with such large files myself, so never ran into such issues.

Morriz avatar Jan 23 '24 00:01 Morriz