microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
90 stars 35 forks source link

The app setting name doesn't auto refresh after executing "Azure Static Web Apps: Rename Setting..." at the second times #799

Open v-xinda opened 1 year ago

v-xinda commented 1 year ago

Environment: VSCode.dev Azure Resources extension: v0.5.7-alpha.0 Static Web Apps Extension Version: v0.11.5-alpha.0

Repro Steps:

  1. Expand the Application Settings node.
  2. F1 -> Azure Static Web Apps: Rename Setting... -> Select subscription -> Select a static web app -> Select an environment -> Select an app setting -> Enter a new name -> Enter.
  3. Rename the above app setting again with command "Azure Static Web Apps: Rename Setting...".
  4. Check whether the app setting name auto refreshes.

Expect: The app setting name auto refreshes.

Actual:
The app setting name doesn't auto refresh.

More Info: It is unstable that the app setting value doesn't auto refresh after executing "Azure Static Web Apps: Edit Setting..." from command palette.