I really didn't like having the prompt asking for what type of project does the user want to create. It doesn't really make sense to have it in our main entry point, so until we can think of a good solution, the command list looks like this:
Old:
New:
Removed Create Function App... option in the local workspace view
This was replaced with just Deploy function to Azure... which includes a + Create new function app option as a quick pick when we prompt for the app
Other changes I probably should have made separate PRs for 😅:
Added Create New Project... to workspace view if there's no project in the workspace. It actually does call azureFunctions.createNewProject because we know that we need to start from scratch. createFunction has to do some checks before it ultimately cancels and calls createNewProject so performance is slightly better to just call it directly.
Old:
New:
Added two entry points for "Create Function..." which live on the local project node and context menu
This is basically this PR https://github.com/microsoft/vscode-azurefunctions/pull/4042 but I removed some of the UX changes regarding "Create function locally...".
I really didn't like having the prompt asking for what type of project does the user want to create. It doesn't really make sense to have it in our main entry point, so until we can think of a good solution, the command list looks like this:
Old:
New:
![image](https://github.com/microsoft/vscode-azurefunctions/assets/5290572/cd572e72-eec2-4f76-b75a-d2ed6786256f)
Create Function App...
option in the local workspace viewDeploy function to Azure...
which includes a+ Create new function app
option as a quick pick when we prompt for the appOther changes I probably should have made separate PRs for 😅:
Added
New:
![image](https://github.com/microsoft/vscode-azurefunctions/assets/5290572/8bdf1138-700a-4c99-942d-2d8847d101a8)
Create New Project...
to workspace view if there's no project in the workspace. It actually does callazureFunctions.createNewProject
because we know that we need to start from scratch.createFunction
has to do some checks before it ultimately cancels and callscreateNewProject
so performance is slightly better to just call it directly. Old:Added two entry points for "Create Function..." which live on the local project node and context menu![image](https://github.com/microsoft/vscode-azurefunctions/assets/5290572/c781ac07-4b6f-4e36-8489-8de2958b15e5)