.jenkins code highlighting Visual Studio Code

1.6k Views Asked by At

In our project we use *.jenkins files. How can I set syntax highlighting for Jenkinsfile?

I installed different Plugins, but per default they only support Jenkinsfile.

1

There are 1 best solutions below

1
Jose Camacho On BEST ANSWER

I answered a similar question in How can i add Jenkinsfile support to visual studio 2017

Basically, I got it by setting the highlight of the *.jenkins files to be Javascript