Uh hello guys, welcome to this video. So
in this video, I'll show you a VS code
extension uh which is used to format
your car code.
It's specifically made for C only. And
as you can see this is the extensions
car sharpier code formatted only for
C.NET code. So if you go to the
extensions tab just type here
is C Sharpier. This is the name of the
extension and simply click on the
activate install button to simply
activate this extension 257,000 installs
are there.
So once you activate this extension uh
if you go to car.net code here so as you
can see this code is not formatted the
spacing is not right. So just if you
right click it you will see this option
appearing
once you just activate this it is
enabled globally. So right click and
so once you activate this plug-in you do
need to I think go to the command pallet
just search here she sharp here
and they have given this in the
documentation. So once you activate this
plug-in you need to go to the settings
file user settings file
and right here in the car language.
So by default this will be the formatter
you just need to replace the name here
of this formatter which is
car sharpier.
So just change this. As you can see,
it will automatically do this. But if it
doesn't do this, you just need to add
this inside carpier the editor. Default
formatter like this. So just make this
change and I think just need to restart
your VS code and just right click and
you will see this option appearing
format document with
and you will see this will automatically
pop in C sharp your code formatter
simply enter and it will automatically
beautify and format all your net car
code directly inside VS code. So this is
a very good extension. It will save you
a lot of time because it will
automatically format all your
car and net code. Just right click.
You can even do this format document and
just select this and automatically it
will format your document.
So this is the extension definitely
install it. This is their official
website car.
Also check out my website
freemediattools.com
uh which contains thousands of tools.