-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to build a bicep file from VSCode file context menu #2868
Comments
My guess is someone with VS code extension authoring should be able to implement this pretty quickly - that's why I am tagging it as a good first issue. This also opens pandora's box for deploying bicep from a context menu :) |
cc @MarcusFelling who has expressed interest in this as well. There may already be an issue. |
I started on the implementation for |
Building/decompiling would be very easy to implement. Deploy is more complicated, depending on what we do (e.g. integration with the Azure subscription extension and Azure pane so you can sign in?, or just a “run a command in the terminal” experience, which would be a lot simpler). It would also be pretty easy to have a bicep->JSON preview window that could be opened to the right side (like the bicep playground, but local). Would that be interesting? |
Would that generate the JSON preview in a secondary window or would that build/show the build result in a preview window? I prefer the later. |
Not sure what you mean. I was thinking it would show the result of building the bicep file (the built JSON) as you type. |
I was thinking having to save the file, invoke the command on the saved file and see the generated result. Not necessarily as you type. If your scenario supported both, the "as you type" is interesting and complementary, but my first need is more build an existing file. |
Gotcha. |
Is your feature request related to a problem? Please describe.
I have no quick way to build a bicep file into an ARM template without invoking a terminal command like
az bicep build
orbicep build
myself.Describe the solution you'd like
I'd like the ability to right click a bicep file in VSCode treeview and choose Build to produce an ARM template without going into a terminal window.
The text was updated successfully, but these errors were encountered: