Reputation: 1
Dev Ed has a number of courses on YouTube. I have been viewing on named HTML and CSS Tutorial.
I have Visual Studio Code installed and added the packages suggested in the Tutorial. I get to the point where the <!DOCTYPE html>
tag has been created and on a new line the tag <html>
has been typed. This automatically completes the end tag, hence <html></html>
. If I am understanding this correctly, Ed then says hit the Tab key but it just produces spacing as you would normally expect with a Tab.
My expectation is that it formats the code as follows:
<html>
</html>
This does not happen.
Upvotes: 0
Views: 58
Reputation: 10520
According to VSCode release notes, such a feature has been removed from the IntelliSense and replaced with </
.
In order to autocomplete your tags you can do either of these:
Use ctrl + space to select from provided items in the suggestion list.
Use third party plugins like this.
Upvotes: 1
Reputation: 558
Save your file as .html
or if already have done that, click on the text between CRLF and smiley face and select HTML
Upvotes: 0