简体   繁体   English

使用TextMate打开Grails项目

[英]Open a Grails project using TextMate

I have created a simple grails application. 我创建了一个简单的grails应用程序。 When i ls the folder the following is what i get: 当我ls文件夹时,我得到的是:

Ma-MacBook-Pro:library ma$ ls
application.properties  lib         test
grails-app      scripts         web-app
grailsw         src         wrapper
grailsw.bat     target

Now i want to open this project in TextMate so i can edit it. 现在,我想在TextMate中打开此项目,以便我可以对其进行编辑。 When i type mate . 当我输入mate . it says -bash: mate: command not found . 它说-bash: mate: command not found

The TextMate version i am using is TextMate version 2.0-alpha.9501 . 我正在使用的TextMate version 2.0-alpha.9501TextMate version 2.0-alpha.9501 My OS is OS X 10.9 . 我的操作系统是OS X 10.9 Can some one tell me how i could open the project in TextMate 有人可以告诉我如何在TextMate中打开项目吗

You have to install shell support first. 您必须先安装外壳支持。

Open the Preferences, click on the tab named "Terminal". 打开“首选项”,单击名为“终端”的选项卡。 There's a little "Install" button. 有一个小的“安装”按钮。

If it does not work afterwards, your shell is misconfigured and you should add /usr/local/bin to your PATH environment variable. 如果此后仍不起作用,则说明您的shell配置错误,应将/ usr / local / bin添加到PATH环境变量中。

Not really a programming question... Anyway, here goes: 并不是一个真正的编程问题...无论如何,这里是这样:

  1. mate is not on your PATH. mate不在您的PATH上。 What does which mate return? which mate返回什么? (I'm guessing nothing...) (我猜不到...)
  2. In Mac OS X graphical *.app applications (like TextMate would be) is opened with the open command. 在Mac OS X中,使用open命令打开图形* .app应用程序(例如TextMate)。 Try open /Applications/TextMate.app/ . 尝试open /Applications/TextMate.app/ .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM