This PR migrates the "Upload to Cloud Shell" command from Azure Account, to the Resources extension. The command allows users to upload files to Azure Cloud Shell.
The entry points are:
File explorer context menus on files
Open file tab context menu
Command palette (file picker is shown)
The command requires users to have a cloud shell terminal open before running the command. To do this, we track open cloud shell terminals with a context value, and only show the command entry points when the value is greater than 0. I made sure to change the context key from what was used in Accounts to avoid any weirdness.
This PR migrates the "Upload to Cloud Shell" command from Azure Account, to the Resources extension. The command allows users to upload files to Azure Cloud Shell.
The entry points are:
The command requires users to have a cloud shell terminal open before running the command. To do this, we track open cloud shell terminals with a context value, and only show the command entry points when the value is greater than 0. I made sure to change the context key from what was used in Accounts to avoid any weirdness.