Most editors come with auto-complete code functions, such as Webstrom and hbuild. However, vscode needs to download the plug-in to complete the code automatically. Here’s how to do it:
- Open vscode, search for the HTML Snippets plug-in in the extension and install it
- Restart vscode to achieve automatic prompt code function
Ctrl + shift + P
Reload Window
Copy the code