bonjour hi welcome to another video of cloud in five minutes I'm Frank Boucher
and today I want to show you my five favorite
visual studio code extension when I'm working in azure
a question that I got frequently is what tools I'm using so today I'm spending
this video to talk about my top 5 extension and visuals Yoko
I think visual studio code because it's a tool that is cross-platform it's free
and a lot of developer are using it of course this top 5 change depending on
your focus that what the kind of work you're doing so today I'm talking about
my top 5 when I'm playing with arm template or creating web app so don't
want the first one doesn't really count it's a given because it will be
installed by installing any other asher extension and this one is a sure account
with it you will be able to sign on in Azure directly from Visual Studio code
you will have your in the bottom of your screen you have it your connection you
will be able to check what kind of connection you want another very
interesting feature from this extension is when you open the command palette on
Windows it's ctrl shift P and you type assure you will see many different
function and the one I want to show you is open bash there's a PowerShell one or
two also in cloud shell so what it does it opened the cloud shell but in visuals
Zucco so nice thing about cloud shell it will keep your history forever and also
it's very fast when you want to execute some functions for example here listing
your resource group however when you want to work with files let's say you
want to validate an arm template you're working on the file must be up there or
in a blob storage it cannot be local on your laptop for
example the first rail extension in my top 5
is the azure app service and why I picked that one is because a lot of
developers are using code are developing web app this will ease the process of
building a web app and deploy it to install it it's very simple
I will provide link in the description or directly from Visual Studio code you
click on the extension icon and you will be able to search the name of the
extension so here as your app service and you just click the install button
for me it's uninstalled because it's already installed when you have it
installed it will show you here a new icon asher and with that you will see
all your subscription you will be able to list your web app and even dig deeper
and go see the app settings the files and the connection string you could even
restart it deploy it and tons of things very very very useful the second
extension I want to talk today is my new favorite and it's a sure CLI tool it's
my new favorite because I just discovered it recently and it's awesome
you need to be in a file with the extension AZ CLI so that thing will
works from there so here it is I am in a file with the extension AZ CLI let's say
you want to do a validation of an arm template you are doing so you you will
be doing easy and then group and then you have deployment and then let's say
you're not sure of what's possible say okay I want to validate it and I'm not I
don't know the parameter so just doing that you will have all the parameter
listed directly in Visual Studio code so perfect what I need to do is of course I
need to pass my template fly and see just like that you could be up and
running in a second so while recording this video I completely forgot to talk
to you about one other feature and it's the capability to execute a command
directly from Visual Studio code so you just need to right-click and you have
the run from editor or terminal if you're doing it in
it will open a terminal and execute the comment just like that and if you are
trying to run it from the editor it will pop up a new window execute the command
over there and you will have the result ready to edit the third extension I want
to talk about is as your function and that one is very useful because you
always have a little something that you want to up there quickly to be able to
run it so as your function is perfect for that kind of scenario is and the
extension go with it so with this extension again from the azure icon you
have it here same place where app service was URL function and then you
will be able to create new project and those project add new function and
deploy in Azure directly from visual Zucco even more if you have function
already deployed you will be able to navigate through your subscription see
your function see the settings and even see your logs so that's really useful
that means that you could be tracking reading the logs of your as your
function in Azure directly from visual studio code in real time so this is also
very very cool and even more if you install function CLI you will be able to
run the function locally and debug it before deploying it in Azure
so the fourth extension I want to talk about if you see my video you saw that
I'm using it a lot of time is as your resource managers snippet and that one
is really useful so you need to be in adjacent file so let's go in adjacent
file here I am and by typing a RM I will have my snippet list available to me so
let's say I want to create an empty arm template so I'll just click here and I
have it I wanna had a new resource let's say I wanna have the functions see what
that just did here so I will type a RM again - and then func functions re and
if I type that already have the snippet and now it's pretty
selected multi place so if I look here function name is a little is highlighted
here and lower on line 35 and if I'm typing at st. let's say I want to call
it function test it's editing a boat place and when I
will do tab it will switch to the next selection here the server foreign name
there like that until I'm done editing all the snippet it's very powerful and
you could put your skeleton over your arm template pretty quickly the fifth
one the last but not the least is the Azure resource manager tool let me show
you what it does so yes you will have intellisense and
you have completion I will have a quick validation of my schema and some rules
so for example here it will mention that my variable is never used also for
example if you have like this storage name it could warn you that the name is
too long if I want to use my variable I could go here let's say I want to put my
function so I will put it between square brackets and then I will just start
typing variables and it will know my variable so this way I could very
quickly be set and ready to work so you see out this with the snippet and
the others you will be able to deploy your resources very quickly so there it
is my top five six extension for visual studio code when you're working with
Azure it was really hard to restrict myself only to five extension so to help
me let me know what your favorite extension are in visual studio code
let's say to play with data a sure or a I see you next time until then here
another video of God in five minutes thank you for watching
you