Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocomplete of xml tags in VSCode based on xml schema

Does VSCode implement some kind of autocomplete based on XML schema like standard Visual Studio does? If not, is there an extension that implements that feature?

like image 786
CodeClimber Avatar asked Apr 11 '17 20:04

CodeClimber


People also ask

Why is autocomplete not working in VS Code?

Why is VS Code suggestions not working? If you're coding in JavaScript or TypeScript and finds that VSCode IntelliSense does work but does not behave properly, it's likely that you've selected the wrong language mode. TypeScript and JavaScript share the same language service, so you need to select the right language.

Does Visual Studio code support autocomplete?

Think gray text autocompletion that you see when typing emails but for code. This feature is available in Visual Studio 2022.

How do I see the XML tree in Visual Studio code?

To view the documentation in VS Code, open the command palette (Ctrl+Shift+P) and select XML: Open XML Documentation, as shown in Figure 1.

How do I view an XML schema?

To see the schema set in the XML Schema Explorer, right-click an XML node in an XML literal or an XML namespace import and select the Show in Schema Explorer command.


1 Answers

They don't have any in-house xml completion tool unfortunately.

Please use this extension:

https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag

like image 103
Firat Tale Avatar answered Sep 20 '22 12:09

Firat Tale