Welcome back, everyone, in this brief lecture, we're going to show you how to download and install
extensions in visual studio code related to the Django template.
So as you end up using the Django template language or Jinja template, well, you may want to actually
explore some Visual Studio code plugins that specifically highlight these features within the HTML file.
So we're gonna quickly explore how to search for and install these plugins from the Visual Studio Code
Marketplace.
Let's head back to Visual Studio Code.
OK, here I am inside vs code.
Remember last time when we were typing out the Django template language, what's not so great is everything
here is just listed as normal HTML.
So when we start talking about filters and tags, it gets a little tricky to read what's normal HTML
versus what's in brackets?
Well, you can do is explore the free extensions that try to highlight this with different coloring.
So if we go to on the left hand side or control Shift X.
Two extensions you can actually install some and you can search for them in the marketplace.
There's also recommended extensions here, but you should be able to just search for Django and you're
going to see a bunch of extensions specifically designed to highlight things like the Django template
language.
So, for example, one of them I have here, it's called Django Template.
There's also just Django snippets, Django Nero, etc. So there's a bunch of them.
You should note that sometimes some of these actually conflict with the capabilities to autocomplete
that VSCO has built in.
And I know Django the very most popular one, actually.
I believe the still conflicts with the capabilities of VSCO to autocomplete HTML.
But I do want to show you these sort of.
Extensions and how to actually install them, so I just installed one of those, it's actually quite
easy, just hit it at downloads and installs, and then you can always use a little gear icon here to
disable or uninstall.
So now that I have that notice, this extension is now enabled globally.
Sometimes you do need to restart the code to actually see the effects.
But if I actually go to variable each HTML, you will now see this is now syntax highlighting the actual
Django templates.
So now I can see quite clearly first name or last name and why this is now a comment versus a variable
call.
OK.
So that's just a little quick snippet of what Sybil will for you.
I would imagine that you should be exploring these, checking them out, exploring Django themes, Django
snippets, and so on.
It's really up to you which one of these extensions, if you even want to use them, you like the best.
OK, that's it for this lecture.
Have fun exploring the marketplace.