'Is there a way for VSCode file associations to work for partial naming?
I would like my material-icon-theme to recognize files as docker-compose-*.yml as docker files, however the command below does not work in my settings.json
"material-icon-theme.files.associations": {
"docker-compose*.yml": "docker"
}
Thanks!
Solution 1:[1]
For sure man, you just simply use regex to catch the file name, such as
"material-icon-theme.files.associations": {
"docker-compose.*.yml": "dockerfile"
}
Hope it helps!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | retr0327 |