Groovy syntax highlighting not automatically applied for files named Jenkinsfile
#106812
Labels
bug
Issue identified by VS Code Team member as probable bug
insiders-released
Patch has been released in VS Code Insiders
languages-basic
Basic language support issues
verified
Verification succeeded
Milestone
Issue Type: Bug
Repro step
s:Jenkinsfile
Expect:
Groovy file mode is detected automatically (worked in 1.48)
Actual:
File is detected as plain text (as of 1.49)
It looks like this change removed
"filenames": [ "Jenkinsfile" ]
from the groovy extension, presumably inadvertently. By way of comparison, the docker extension has both afilenames
entry forDockerfile
and a pattern:vscode/extensions/docker/package.json
Lines 16 to 17 in b91c581
So I'm inferring that the fix would be to restore the deleted line and also retain the new pattern, which would make everyone happy. (Or as happy as they can be writing Jenkinsfiles, anyway.)
VS Code version: Code - Insiders 1.50.0-insider (e13875b, 2020-09-15T05:35:57.362Z)
OS version: Windows_NT x64 10.0.18363
Extensions: none
The text was updated successfully, but these errors were encountered: