uh hello guys welcome to this video so
in this video I will actually show you
an extension in Visual Studio code which
allows you to spot errors and debug
errors really easily inside any
programming language whether it's
JavaScript or python or any language you
will see these descriptive messages
right here if if you make any sort of
mistake right here this is actually the
python code so as we all know we Define
the function using def keyword and then
we actually Define this function so we
can't use parenthesis so it is actually
telling us that expected this colon so
we do need to uh expect the colon right
here so we Define
this so it is actually telling expected
parenthesis and then if I just write
like
this it will tell me that expect
indented block so I need to indent my
code so this is correct when it comes to
JavaScript so if I just make any sort of
mistake here so as you just write the
code it is instantly giving you the
error messages so if I Define a
function so let's suppose
I make any sort of mistake right here I
don't Define this bracket right here so
it is saying that signature declarations
can only be so it basically it is
telling us that this bracket is required
and if
I
write so it will tell me that semicolon
is expected so the extension name is
really simple guys which is error length
this is actually the extension
uh
it it is almost having 5.1 million
downloads it shows you this highlighting
of Errors warnings and other language
dyos stics so it's really simple
extension you need to click the install
button to actually install this module
so once it is installed you will be
having these messages
so once you actually write any sort of
code
so here we are expecting two arguments
so let's suppose if I call this function
without providing any
argument let's suppose 2 comma 5
and here if I declare a
sum so you will see it will highlight
this unknown word so automatically you
will be able to rectify the mistake very
easily so it works with all the
languages you can work with PHP files as
well so if you define a PHP
file it works with python PHP JavaScript
all the
so file so in PHP you basically forgot
to add the semicolons really so at that
moment of time it will be able to show
you this message that semicolon
expected so you missed that semicolon so
syntax error and expected token Echo so
it will tell you this message you need
to fix this error so here you can Define
this so as you write the function as you
write the code it will tell you exactly
what you want to do
so so you can see hello it was not
closed so it is expecting that so it
gives you this descriptive messages as
well so let's suppose you are working
with nodejs you actually
requiring and then we changing this
value
so by accident you put colon symbol
right here it will tell you ex semicolon
expected so you basically getting the
concept guys this is actually the module
extension you should have installed
error lens it gives you the highlighting
of error messages so if you make by by
accident if you make any sort of mistake
in any of these languages you will get
this descriptive message in a red color
so it will basically highlight your
attention that you have made a mistake
so I think it's a very good extension
you should definitely install it it will
give you this descriptive messages as
you type your code instantly so this is
the extension that I wanted to tell you
in this video so thank you very much for
watching this video guys please hit that
like button subscribe to channel as well
and I will be seeing you in the next
video