当前位置:首页 > 开发 > 编程语言 > Http > 正文

Groovy Tip: Running Groovy from Sublime Text Editor - http://fizalihsan.wordpres

发表于: 2014-07-04   作者:BenjaminYu   来源:转载   浏览:
摘要: http://fizalihsan.wordpress.com/2013/11/14/groovy-tip-running-groovy-from-sublime-text-editor/ Groovy Tip: Running Groovy from Sublime Text Editor fizalihsan /  November 14, 2013

http://fizalihsan.wordpress.com/2013/11/14/groovy-tip-running-groovy-from-sublime-text-editor/

Groovy Tip: Running Groovy from Sublime Text Editor

I just came across this cool little trick to compile and run Groovy scripts from Sublime Text Editor.

  • Open the editor and go to menu Tools->Build System. This will open a new file named ‘untitled.sublime-build‘.
  • Add the path to your Groovy installation directory as show below.
{
 "cmd": ["C:/apps/Groovy/groovy-2.1.9/bin/groovy.bat", "$file"]
}
  • Now ‘save’ the file as ‘groovy.sublime-build‘.
  • Open your groovy script and in the menu select ‘Tools->Build System->Groovy’
  • To compile and execute, ‘Tools->Build’ or F7 or Ctrl+B.

Groovy Tip: Running Groovy from Sublime Text Editor - http://fizalihsan.wordpres

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号