问题
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": { "*": "xml" }
Any way to achieve this?
回答1:
If I understand correctly, then you can add the following in the settings:
"files.associations": {
"[!.]*": "xml",
},
来源:https://stackoverflow.com/questions/50259434/vscode-associating-a-file-without-extension-to-xml