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?
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.
Think gray text autocompletion that you see when typing emails but for code. This feature is available in Visual Studio 2022.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With