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

Use remote repositories API to enable create static web app in vscode.dev #797

Closed nturinski closed 1 year ago

nturinski commented 1 year ago

Remote Repositories lets users open GitHub repos in vscode.dev or in a virtual workspace. By leveraging their API, I was able to basically enable full SWA create support on vscode.dev with minimal refactoring.

There are a lot of files related to the git API, but I will move them in another PR since it would make reviewing changes a pain.

path.join won't work in vscode.dev, so I replaced it where relevant. createHttpFunction still uses it since it can only be used on desktop, though we can probably just remove it all eventually.

nturinski commented 1 year ago

Note: Still to do