vscode-azurestorage
vscode-azurestorage copied to clipboard
[Codespace] There is no file shown in "Open in File Explorer" after upload
I've tried this scenario. The experiences aren't optimal.
- In a newly created storage account, created a blob container called "container1"
- Right click on the blob container, then select "Upload Files..."
- In the command palette, select the readme.md file from: codespace ➜ ~/workspace/node-todo (master)
Actual result: once the upload completed, readme.md did show up under the container "container1" node
Continue testing:
- Right click on the "container1" node and select "Open in File Explorer"
- In the command palette, select "Open in new window". This will launch another tab of VS Code Codespace in the browser and on the "container1" node will be displayed.
Actual result: You will see the new tab "container1 [Codespaces] - Visual Studio Code - Insiders - Codespaces" like this:
Clicking on the node "container1' shown as the last node in the above screenshot, you'll get the below error:
Remember that at this point, I already have the file "readme.md" uploaded into container "container1" as shown in the main Codespaces window:
BTW, this works as expected in normal VS Code with the storage extension. That is, the files are shown if i open in a new window.
Related: https://github.com/microsoft/vscode/issues/110352
When microsoft/vscode#110352 is fixed, please also try the following scenario:
- Create a new storage account, which will by default will support static website
- Once the storage account created, expand it so you see the Blob containers. Expand the container node. You should see $web
- Click on "Open in File Explorer..." and select to open in a new web/window
- In the new window/web, you will see two nodes: "OPEN EDITORS" and "$WEB [CODESPACES]. Expand "$WEB". You should see a subnode/file called "$web" in orange color
- Double click on "$web".
You are expected to receive the following error:
I expect these errors to go away if this bug is fixed.