If you meant to ask us how to set up Visual Studio Code to automatically add closing tags to XML elements such as the element shown in the picture, afaik I don’t think the software features this kind of functionality built in. You might have to go the way of using add-ons, such as these two:
A web search could easily bring up a couple more. Go ahead and give it a try; if it isn’t what you want, please edit your question and make it clear to us.