VSCode IDE MagicPython Python Syntax Highlighter & Formatter Example Demo Video
0 views
Jul 8, 2025
Get the full source code of application here:
View Video Transcript
0:00
Uh hello guys, welcome to this video. So
0:02
in this video, I'll show you a VS code
0:04
Python extension for formatting and
0:07
highlighting your code. This extension
0:09
is very much popular. So go to the
0:11
extensions tab and just write here magic
0:13
Python. So the very first extension
0:16
which comes right here, if you see that
0:18
it's used by almost 5 million
0:21
developers, simply click the install
0:23
button and click the to install this
0:27
extension. As soon as the extension is
0:29
installed, you will see it will
0:32
highlight
0:33
all the basic syntax. You'll see this is
0:36
my Python file
0:39
and it is actually highlighting all the
0:41
basic stuff
0:46
here.
0:53
So you can see the function name is
0:55
highlighted with a different color.
1:02
So this is highlighted with a different
1:04
color and this is also highlighted with
1:06
different color different color.
1:10
So this makes it your code way more
1:12
easier to read and formatting also.
1:24
Uh let's suppose if I make some kind of
1:26
formatting mistake. If I save this
1:29
control S automatically the code will be
1:32
formatted. If you right click you will
1:35
see this option appearing format
1:37
document. It will format your document.
1:40
So a must extension. You should
1:42
definitely install it. It will add the
1:45
highlighting as well as the formatting
1:47
to your Python files.
1:50
Also check out my website
1:52
freemediattools.com
1:54
uh which contains thousands of tools.