Try to use Auto Complete Tag extension on VScode . It combines the functions of Auto Close Tag and Auto Rename Tag.

Answer from MagnusEffect on Stack Overflow
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
Auto Complete Tag - Visual Studio Marketplace
Extension for Visual Studio Code - Extension Packs to add close tag and rename paired tag automatically for HTML/XML
🌐
Visual Studio Code
code.visualstudio.com β€Ί docs β€Ί languages β€Ί html
HTML in Visual Studio Code
November 3, 2021 - By setting html.customData Open in VS Code Open in VS Code Insiders to a list of JSON files following the custom data format, you can enhance VS Code's understanding of new HTML tags, attributes and attribute values.
Discussions

intellisense - VSCode not auto completing HTML - Stack Overflow
I'm having trouble with my new installed Visual Studio Code on Windows 7. On Mac the editor automatically closes html tags but on my Win7 not. I assume there must be some option to turn it on but I... More on stackoverflow.com
🌐 stackoverflow.com
Override autocomplete for html tags
turn off auto closing tags preferences -> search "closing tag" and it should show up. can do it for html, javascript and TS More on reddit.com
🌐 r/vscode
10
14
April 12, 2021
Recommend the best extensions for VS Code. Working with html/css and JS.
I highly recommend the Live Server extension for Visual Studio Code! It sets up a local development server and allows you to see your changes in real-time, making it super easy to work on your HTML, CSS, and JavaScript. You'll love how convenient it is! More on reddit.com
🌐 r/HTML
2
1
October 8, 2024
auto complete js inside .html file
Autocomplete works best when the file extension matches. Also check the bottom right corner to see what file type vs code has detected. More on reddit.com
🌐 r/vscode
3
13
November 14, 2020
🌐
CSS-Tricks
css-tricks.com β€Ί vs-code-extensions-for-html
VS Code Extensions for HTML | CSS-Tricks
June 7, 2021 - The point of it is that it does fancy AI-powered autocomplete suggestions, even in HTML. Check out it guessing at some attributes: This looks like a pretty commercial product with features that push you toward paid plans for teams. I don’t really feel like getting all into that; it was just interesting to see a tool like this work with HTML. This lints your HTML for accessibility problems right in the editor. There are a bunch of rules it checks for. Did you know even though VS Code has Emmet baked right in, there is no communication between Emmet’s creator and the VS Code team?
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
HTML to CSS autocompletion - Visual Studio Marketplace
Extension for Visual Studio Code - Provides completion suggestions for classes and ids from markup documents to stylesheets.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
Class autocomplete for HTML - Visual Studio Marketplace
July 28, 2016 - Extension for Visual Studio Code - Intelligent auto completion for HTML class="" attribute.
Find elsewhere
🌐
Quora
quora.com β€Ί How-do-I-configure-VS-Code-to-auto-complete-HTML-tags-with-class-attribute
How to configure VS Code to auto complete HTML tags with class attribute - Quora
Visual Studio Code can be configured to autocomplete HTML tags and include class attributes automatically using built-in Emmet, settings, and extensions.
🌐
Reddit
reddit.com β€Ί r/vscode β€Ί override autocomplete for html tags
r/vscode on Reddit: Override autocomplete for html tags
April 12, 2021 -

Hi all

I love the auto complete for html. So I can type e.g. div hit ENTER and then I get <div></div>

This is great. However often, I only want the opening tag and not the closing tag. I can't figure out a way to do this manually. I've tried typing it out fully <div>, using tab, nothing. As soon as I use the closing > for my open tag it auto completes the next div element.

Is there any way around this without turning off autocomplete all together?

thanks

🌐
Quora
quora.com β€Ί How-do-I-make-Visual-Studio-Code-generate-auto-complete-HTML-code
How to make Visual Studio Code generate auto complete HTML code - Quora
January 22, 2026 - Ensure the HTML language features extension is enabled: Extensions view β†’ search "HTML" β†’ the built-in extension "HTML Language Features" should be enabled. ... Emmet is bundled and active for HTML files.
🌐
Educative
educative.io β€Ί answers β€Ί how-to-code-faster-with-vs-code-extensions
How to code faster with VS code extensions
June 8, 2022 - Path intellisense is a Visual Studio Code plugin that autocompletes filenames. You can learn more about path intellisense here. ... Application Programming Interface Client Extension for Visual Studio Code, hand-crafted by Ranga Vadhineni, with ...
🌐
Visual Studio Code
code.visualstudio.com β€Ί docs β€Ί editing β€Ί intellisense
IntelliSense
November 3, 2021 - Visual Studio Code IntelliSense is provided for JavaScript, TypeScript, JSON, HTML, CSS, SCSS, and Less out of the box. VS Code supports word-based completions for any programming language but can also be configured to have richer IntelliSense ...
🌐
Medium
medium.com β€Ί @dimterion β€Ί vs-code-snippets-autocomplete-tips-3434e7bf519f
VS Code Snippets & Autocomplete Tips | by Dimterion | Medium
August 9, 2024 - Example: for-loop snippet mentioned above does exactly that. The default version has identical parts highlighted, and also when you use tab it will switch to the next bunch of such parts. Code snippets/autocomplete also come with various VS Code extensions. If you use Tailwind, then Tailwind CSS IntelliSense extension almost looks like a must.
🌐
DEV Community
dev.to β€Ί krtirtho β€Ί vscode-extensions-that-you-need-webdevs-2pkp
VSCode extensions that you need [Webdevs]πŸš€πŸ”§ - DEV Community
February 10, 2026 - It uses Microsoft Azure cloud services ... tags. You've to manually write the opening/closing tags. But VSCode has a built-in emmet extension....
🌐
Reddit
reddit.com β€Ί r/vscode β€Ί auto complete js inside .html file
r/vscode on Reddit: auto complete js inside .html file
November 14, 2020 -

cant seem to get auto complete to work right

if I type document.query and then tab or enter I get

document.querySelector

the behavior that I want is

document.querySelector(*params with cursor selected*)

image example from youtube I see people using vscode in YouTube videos, and their auto complete does exactly as I described.

here are some of this settings I have tried in my settings.json file that have not worked.

"javacript.suggest.useCodeSnippetsOnMethodSuggest": true,
"typescript.suggest.useCodeSnippetsOnMethodSuggest": true,

I see these two lines referenced everywhere and they don't seem to do anything. The two lines above aren't even recognized as actual settings and show up grayed out in settings.json.

"javascript.suggest.completeFunctionCalls": true,
"typescript.suggest.completeFunctionCalls": true,

The two lines above do nothing, but theses two are at least recognized by vscode as valid settings.

If anyone could help me with this I would really appreciated it. This has been driving me crazy for a while now and I'm not sure where else to look.

here is a gist of my settings.json

🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
CSS class autocomplete for HTML/JSX/TSX - Visual Studio Marketplace
September 16, 2019 - Extension for Visual Studio Code - Autcompletes class names from CSS classes i nthe same project in HTML / JSX / TSX files
🌐
Gocodeo
gocodeo.com β€Ί post β€Ί 10-best-vs-code-extensions-for-web-development
10 Best VS Code Extensions for Web Development in 2025
September 20, 2024 - This vs code extension adds IntelliSense-style support for over 60 commonly used HTML tags and attributes. It complements VSCode’s built-in HTML support by making autocomplete smarter, more efficient, and more context-aware.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
Smart CSS Autocomplete - Visual Studio Marketplace
March 8, 2023 - Extension for Visual Studio Code - Autocomplete CSS properties smarter - using an usage statistics instead of standard random
🌐
GitHub
github.com β€Ί yewstack β€Ί yew β€Ί issues β€Ί 1663
Document how to enable VSCode html autocomplete support Β· Issue #1663 Β· yewstack/yew
December 16, 2020 - I am doing a test run with Yew, and on of my main struggles seems to be that I can't use any html autocomplete commands. Will there be (or is there) any vscode (or other editor) plugin that ena...
Author Β  pvdklei