interactive-data-language / vscode-idl

The Official IDL Extension for Visual Studio Code
https://interactive-data-language.github.io/vscode-idl/
MIT License
13 stars 16 forks source link

[Bug]: Answering "Don't ask again" on "Set extension as default formatter for IDL code?" leads to being asked again #44

Closed jtrl3 closed 2 months ago

jtrl3 commented 2 months ago

Current Behavior

On opening a workspace, a popup appears, asking if I would like to set the IDL for VSCode extension as the default formatter for IDL code. Pressing "No" or "Don't ask again" seems to have no effect, as the popup appears again if I restart VSCode within the same workspace.

Expected Behavior

Clicking "Don't ask again" I expect to not be asked again about using this extension as the default formatter after a simple re-opening of VSCode within the same workspace I was working in. It seems as though my request to not be asked again was not saved.

GitHub Repo

No response

Steps to Reproduce

  1. Open a workspace containing IDL code with the IDL for VSCode extension installed
  2. Wait for popup on the bottom right that says "Set extension as default formatter for IDL code?"
  3. Click "Do not ask again".
  4. Restart VSCode and the popup shall reappear.

Failure Logs

No response

Operating System

IDL Version

8.9

Additional Information

No response

znorman-harris commented 2 months ago

Thanks for reporting this! I was able to reproduce this locally, let me take a look and see if anything has changed. I'll try to get a fix out in the next couple of days.

znorman-harris commented 2 months ago

OK, this was a quick fix and a missing piece of logic which has been added in. I'll get a release out here shortly with this fix and a few others.