Share via

Unable to Set Visual Studio Code as Default App for HTML Files (Win 11)

Anonymous
2024-08-25T03:42:47+00:00

As written in the title, I am unable to select VSCode as a default app to open .htm/.html files. Additionally, I am completely unable to set a default app for .htm/.html files AT ALL.

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Ramesh 176.2K Reputation points Volunteer Moderator
2024-08-28T11:57:41+00:00

Right-click on a .html file and click Properties. Do you see a "Change" button now?

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Ramesh 176.2K Reputation points Volunteer Moderator
2024-08-28T10:30:49+00:00

Please run this REG file. Click Yes to confirm. If you get an error message, please post it here.

If the REG file runs correctly, reinstall Edge.

Was this answer helpful?

0 comments No comments

32 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-08-25T06:10:03+00:00

    Hello Remcultist,

    kindly follow below:

    Search for default app in search bar >> in set default for a file type or link type section search with '.html' .

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-08-25T05:22:20+00:00

    Hey there Kishen, unfortunately I have tried this as well already, and it does not work. I am not given an "always use" option.

    Image

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-08-25T05:18:16+00:00

    Thanks for reaching out! I'm kishen an Independent Advisor and a Microsoft user like you. I will be happy to assist you in this regard.

    As your are not able to do this from settings, you can follow this it will help you to make visual studio code as default app for your choosen extension.

    • select any .html file which in your system then right click on it and select ' open with' option and choose visual studio code and while choosing check the little bit down in that pop-up and click 'always use' option and then click on open.

    so after setting this whenever you will open any file with that extension file it will open with visual studio code.

    Was this answer helpful?

    0 comments No comments