VSCode Associating a file without extension to xml

前端 未结 1 897
野性不改
野性不改 2021-01-22 00:03

I want to associate all files without extension to xml format in VSCode.

When I do below, it makes all files (even with extensions) as xml. \"files.associations\": {

相关标签:
1条回答
  • 2021-01-22 00:07

    If I understand correctly, then you can add the following in the settings:

    "files.associations": {
        "[!.]*": "xml",
    },
    
    0 讨论(0)
提交回复
热议问题