question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom file associations not working

See original GitHub issue

In my .vscode/settings.json (workspace settings) I put

{
    "material-icon-theme.files.associations": {
        "*.vhtml": "vue",
    }
}

and still can’t get the icon for *.vhtml to show. Captura de tela de 2019-07-09 16-47-41

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

7reactions
PKiefcommented, Jul 9, 2019

So to get it working for now, just paste your icon files association configuration into your user settings:

"material-icon-theme.files.associations": {
    "*.vhtml": "vue"
}

Result:

vhtml icon association
1reaction
Revezocommented, Jan 28, 2021

Has this been fixed?

You have to paste it into user settings, not inside the project (File -> preferences -> settings -> search for associations and press “Edit in settings.json”)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Broken File Associations in Windows 10
Sometimes setting your default file associations does not always work. In this article we use the command line to fix broken file associations...
Read more >
Changing Default File Associations in Windows 10 and 11
In this article, we'll look at how to manage the default File Type Associations (FTA) on Windows 10/11 and Windows Server 2022/2019/2016.
Read more >
Unable to change program associations for some file ...
Go to Settings->Preferences->file associations->customize. Type in the extension (.mod) under Supported extensions and click on -> to get the ...
Read more >
How to fix broken file type associations for Creative Cloud apps
Solution 1: Use the Open With dialog box to establish the file association.
Read more >
Microsoft confirms File Association bug in Windows 10 version ...
Microsoft confirmed on November 8, 2018 that the option to set custom file associations is broken for some users on Windows 10 version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found