Hi Indra, for sublime text there is this plugin: https://github.com/bjarneo/jenkinsfile-syntax
I've tested on linux/Ubuntu and worked like a charm. Just clone the repository into .config/sublime-text-3/Packages/ and restart sublime. Em sexta-feira, 3 de março de 2017 04:15:38 UTC-3, Indra Gunawan (ingunawa) escreveu: > > Somehow is there other IDE that can be supported. Can Jenkinsfile syntax > hightlighting be supported in SublimeText and recently Visual Studio Code. > > Thank you > > > On 3/2/17, 4:01 PM, "[email protected] <javascript:> on behalf > of Daniel Beck" <[email protected] <javascript:> on behalf of > [email protected] <javascript:>> wrote: > > > > On 03.03.2017, at 00:12, Justin Knowles <[email protected] > <javascript:>> wrote: > > > > are there even install instructions on that page or directions for > how to get IntelliJ to understand GroovyDSL/Jenkinsfile? > > It works for me with IntelliJ 2016.3.4. > > Steps: > > 1. Create a new Java project with Groovy dependency. > 2. Right-click 'src', New, Groovy Script, call it 'dsl' and select > kind 'GroovyDSL script'. > 3. Paste in the output from Jenkins and save. > 4. 'Activate back' > 5. Right-click 'src', New, Groovy Script, call it 'Jenkinsfile' and > select kind 'Groovy script'. > 6. Paste in your Jenkinsfile > 7. Enjoy autocompletion etc. > > -- > You received this message because you are subscribed to the Google > Groups "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/20131B21-731E-4614-A2DF-A44BF686FC16%40beckweb.net. > > > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/06aba21f-773a-4222-a338-80fcd98cc431%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
