microsoft / vscode-azurestaticwebapps

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

The value of the `app_location` is not highlight after editing the `api_location` config value to a space #693

Open v-mengwe opened 2 years ago

v-mengwe commented 2 years ago

OS: Win10 Build Version: 20220513.11 Regression: Not a Regression

Repro Steps:

  1. Create a static web app using the local project -> Expand the static web app -> Production -> Workflow -> Click the api_location child node -> Edit the config value to a space in the opened .yml file. image
  2. CRTL + S -> Refresh the corresponding "Workflow" -> The api_location value changes to "null" -> Click the app_location.
  3. Check whether the value of the app_location is highlight.

Expect: The value of the app_location is highlight.

Actual: The value of the app_location is not highlight.

More Info: On the contrary, this issue doesn't reproduce.

Edit the app_location config value to space in the opened .yml file -> Click the api_location under the "Workflow" -> The value of the api_location is highlight.