24 September, 2019
Jenkinsfile is essential for your
Continous Integration pipeline - so it would be only wise to have syntax highlighting enabled
Syntaxes/Groovy.tmLanguage - file so that
Jenkinsfile is represented like so:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>fileTypes</key> <array> <string>groovy</string> <string>gvy</string> <string>Jenkinsfile</string> </array>
File > Settings > Editor > TextMate bundlesclick on the
+sign and point it to the directory you extracted the zip to.
et voila - you have a syntax highlighted
This should work with other JetBrains IDEs too which do not natively support the
TextMate was originally a general-purpose GUI text editor which JetBrains happens to support the Macros, i.e.
TextMate bundles, for.
Author: Marcel Michelfelder