VSCode installed extensions no longer appear on the menu

Asked 2 years ago, Updated 2 years ago, 86 views

[Current state]
Previously, I wrote HTML in VSCode.
At that time, I installed various extensions, but there was also a Preview function.
I used it to do HTML previews and check while writing code in VSCode.

After that, I had the opportunity to write Python, so I installed and used Python.

After that, I had another chance to write HTML after a while, and I tried to write it in VSCode.
This time I noticed that I can no longer see the extensions I have installed from the menu.

Enter a description of the image here

Also, when I right-click on HTML, the preview came out, but this time it didn't come out, so I'm in trouble.
[!][Enter a description of the image here][2][2]

考えたThinking こと
Maybe because I installed Python, VSCode is in Python mode and HTML extensions don't come out...?and
I thought a lot about it, but I don't know.

"Also, there were many problems regarding the lack of enhancements on the menu, but I couldn't find a way to deal with it."

By the way, we have confirmed that the extension itself is properly installed.
Enter a description of the image here

Nevertheless, HTML→Python→HTML does not provide any enhancements.

How can I get out again?
Does anyone have this experience?

html vscode

2022-09-30 13:48

1 Answers

From the bottom right corner of the screenshot, it appears to be because the file is opened as HTML as a template for Django.

Click this part or select HTML if you do such as Select Select Language Mode in the command palette.

You can also set the default language mode for system-wide and project-specific extensions in the configuration file.


2022-09-30 13:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.