Open nordcave opened 3 years ago
I just found a workaround @nordcave !
We can use the files.associations setting in VSCode to associate Jenkinsfile*
files to the id jenkinsfile
https://code.visualstudio.com/docs/languages/identifiers
In the settings.json it will be something like this (I updated it to a more wide regex):
"files.associations": {
"[Jj]enkinsfile*": "jenkinsfile"
}
I just found a workaround @nordcave ! We can use the files.associations setting in VSCode to associate
Jenkinsfile*
files to the idjenkinsfile
https://code.visualstudio.com/docs/languages/identifiersIn the settings.json it will be something like this (I updated it to a more wide regex):
"files.associations": { "[Jj]enkinsfile*": "jenkinsfile" }
Wow, that's awesome. Thank you!
What Please add extension activation not only for .jenkinsfile files but also for names containing pattern "-jenkins-", "-jenkinsfile-", etc. If possible, please make this patterns customizable.
Why Jenkinsfiles in my project are called Jenkinsfile-something, without extensions .jenkinsfile