如何在WebStorm中安装Groovy插件? [英] How can I install Groovy plugin in WebStorm?

查看:128
本文介绍了如何在WebStorm中安装Groovy插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WebStorm进行开发.我想突出显示Jenkins Groovy管道的语法.

I'm developing with WebStorm. I want to have syntax highlighting for Jenkins Groovy pipelines.

可以使用InteliJ IDEA编辑Jenkins文件,但是在IDE之间来回切换显然很不方便.

It's possible to use InteliJ IDEA for editing Jenkinsfiles, but it's obviously inconvenient to switch back and forth between IDEs.

我可以从IntelliJ IDEA社区版安装 Groovy插件在WebStorm中?如果可以,怎么办?

Can I install Groovy plugin from IntelliJ IDEA Community Edition in WebStorm? If yes - how?

推荐答案

我也没有使该插件正常工作,但是作为部分替代方案,您可以使用以下TextMate软件包:

I didn't get that plugin to work either, but as a partial alternative, you can use this TextMate bundle: https://github.com/textmate/groovy.tmbundle

  1. 下载资源库( https://github.com/textmate/groovy. tmbundle/archive/master.zip )
  2. 将zip文件提取到系统上的某个目录
  3. 在WebStorm/IntelliJ/etc.中,转到文件">设置">编辑器">"TextMate捆绑包",单击+号并将其指向刚刚提取到的目录

这篇关于如何在WebStorm中安装Groovy插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆