Set the default language for a file extension in VS Code

Duration
1 minute read
Last Updated
Jan 2025
Topics
  • code snippet
  • json
  • vscode

In .vscode/settings.json:

{
  "files.associations": {
    // extension as blob: language
    "*.webc": "html"
  }
}
Hire me — I'm seeking my next full-time role.