# Groovy intellisense for Visual Studio Code

**URL:** <https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241>\
**Category:** Showing Off\
**Created:** [July 9, 2021, 10:37am UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241 "2021-07-09T10:37:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadycuz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/shadycuz/32/196_2.png) [@shadycuz](https://community.jenkins.io/u/shadycuz)\
**Post date:** [July 9, 2021, 10:37am UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241/1 "2021-07-09T10:37:20Z")

</div>

I published an extension called [Groovy Guru](https://marketplace.visualstudio.com/items?itemName=DontShaveTheYak.groovy-guru) that gives you basic intellisense using this [groovy-language-server](https://github.com/GroovyLanguageServer/groovy-language-server).

I find it really helpful when working in my shared-library and creating Jenkins jobs.

![completion-signature-help](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/1X/fe194bc124a88d44657c2cfad7497bd39fda01ec.gif)

Edit: August 16th 2021 - Version 0.3.0 released with docstring support!

![docstring-help](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/1X/87194bb3c27c88f53d9cdb12d5bb8f9661069255.gif)

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [July 9, 2021, 6:45pm UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241/2 "2021-07-09T18:45:54Z")

</div>

This is just for basic groovy right? Or does it know about Jenkinsfile flavor too?

:Hopeful:

---

<div class="post-metadata">

**Author:** ![shadycuz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/shadycuz/32/196_2.png) [@shadycuz](https://community.jenkins.io/u/shadycuz)\
**Post date:** [July 9, 2021, 7:26pm UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241/3 "2021-07-09T19:26:47Z")

</div>

Currently it just supports groovy. I think it is possible to support steps from plugins but I’m not sure. It can support anything you can import.

So…

```auto
import jenkins.model.Jenkins

```

Would work as long as you download the .jar and tell the plugin where that jar is. So I think we can do that same with plugin steps? But I’m not sure.

```auto
import something.something.sh

```

if you can import sh ^ into your jenkins job, then yes it would work.

Their is however a really decent plugin someone else created that covers most of the basic steps called [Jenkins Doc](https://marketplace.visualstudio.com/items?itemName=Maarti.jenkins-doc), it just has a really bad name.

---

<div class="post-metadata">

**Author:** ![shadycuz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/shadycuz/32/196_2.png) [@shadycuz](https://community.jenkins.io/u/shadycuz)\
**Post date:** [July 18, 2021, 4:23pm UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241/4 "2021-07-18T16:23:40Z")

</div>

@halkeye Created this [Jenkins Extension Pack](https://marketplace.visualstudio.com/items?itemName=DontShaveTheYak.jenkins-extension-pack) over the weekend. It’s a one click install on Visual Studio Code for the extensions I can’t live without when developing jobs or shared libraries for Jenkins.

---

<div class="post-metadata">

**Author:** ![imoutsatsos](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/imoutsatsos/32/162_2.png) [@imoutsatsos](https://community.jenkins.io/u/imoutsatsos)\
**Post date:** [July 23, 2021, 2:16am UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241/5 "2021-07-23T02:16:47Z")

</div>

This is awesome! And thank you for anything that supports Groovy on VS Code. It is so sorely needed!

---

<div class="post-metadata">

**Author:** ![shadycuz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/shadycuz/32/196_2.png) [@shadycuz](https://community.jenkins.io/u/shadycuz)\
**Post date:** [August 16, 2021, 3:02pm UTC](https://community.jenkins.io/t/groovy-intellisense-for-visual-studio-code/241/6 "2021-08-16T15:02:10Z")

</div>

With the release of version v0.3.0, we now support docstrings on mouse hover!  
 ![docstring-help](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/1X/87194bb3c27c88f53d9cdb12d5bb8f9661069255.gif)
