Cool, that worked, thanks Daniel. Last question (I think) - is there a way
to have autocompletion work in other existing projects without them being a
Groovy project or having that DSL file in the codebase?

Thanks again for your help.

On Fri, Mar 3, 2017 at 2:15 AM, Indra Gunawan (ingunawa) <[email protected]
> wrote:

> 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] on behalf of Daniel
> Beck" <[email protected] on behalf of [email protected]>
> wrote:
>
>
>     > On 03.03.2017, at 00:12, Justin Knowles <[email protected]> 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].
>     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 a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/S0_etu_70oY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/AF6EC515-5430-4446-B1EC-2C4C32DB4F03%40cisco.com.
> 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/CAFZDVTh6cw1H7GFNnqVQbXA3N-%2B0JwmPhkctYH3dsuz8bhXxyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to