Windows 中 Ruby 的 GUI 编辑器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/685572/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
GUI editor for Ruby in Windows
提问by Manoj
I am developing a Windows application using Ruby. What is the best GUI editor for Ruby?
我正在使用 Ruby 开发 Windows 应用程序。Ruby 最好的 GUI 编辑器是什么?
回答by Dimas Cyriaco
I think you guys misunderstood his question. I don't think he's asking about an IDE; I rather think he is asking for a way to develop GUI aplications 'visually'. There are a bunch of good IDEs for ruby out there (I personaly use Eclipse), but I don't think there is a GUI design tool for ruby. What you have to do is to choose a widget library (I use wxruby) and code it in hand. There are many widget libraries around too, like fxruby, qtruby, etc. Hope it help. Sorry if it was I who misunderstood the question.
我想你们误解了他的问题。我不认为他在问 IDE;我宁愿认为他是在寻求一种“可视化”开发 GUI 应用程序的方法。有很多适用于 ruby 的优秀 IDE(我个人使用 Eclipse),但我认为没有适用于 ruby 的 GUI 设计工具。你所要做的就是选择一个小部件库(我使用wxruby)并在手上编码。周围也有很多小部件库,如 fxruby、qtruby 等。希望它有所帮助。对不起,如果是我误解了这个问题。
回答by lkristjansen
If you are asking for a GUI designer and not an IDE. Then wxWidgets(wxRuby) has the wxFormBuilder.
如果您要的是 GUI 设计器而不是 IDE。然后 wxWidgets( wxRuby) 有wxFormBuilder。
回答by Godcode
well there's Netbeans 6.5, Notepad++, Eclipse with the Ruby Dev. Toolkit Plugin, OpenKomodo...
好吧,有 Netbeans 6.5、Notepad++、带有 Ruby Dev 的 Eclipse。工具包插件,OpenKomodo...
回答by Lakshman Prasad
If you are working on ruby, Go, get a mac. Use textmate.
如果你正在研究 ruby,那就去买个 mac。使用文本伴侣。
Oh, well down modded. But allow me to explain.
哦,很好的改装。但请允许我解释一下。
Matz, the Ruby creator has been working with Apple to bring Ruby closer and well coupled with their OS technologies.
Matz 是 Ruby 的创造者,一直在与 Apple 合作,让 Ruby 与他们的操作系统技术更紧密地结合在一起。
Not the least, the elegance is in the philosophy, in both. Not for nothing, Matz himself uses the Mac, so also DHH, and most other Ruby developers.
最重要的是,优雅在哲学中,在两者中。并非没有原因,Matz 本人使用 Mac,DHH 和大多数其他 Ruby 开发人员也使用 Mac。
If you still need a Ruby editor on Windows, use Komodo Editor Scite.
如果您仍然需要在 Windows 上使用 Ruby 编辑器,请使用Komodo Edit或Scite。
回答by Michael Joseph Kramer
I've had a good experience with RubyMine from JetBrains. It's free for now, and you get some nice refactoring and syntax highlighting too.
我对 JetBrains 的 RubyMine 有很好的体验。它现在是免费的,而且您也可以获得一些不错的重构和语法突出显示。
回答by TechTravelThink
Check out Netbeans at http://www.netbeans.org/features/ruby/index.html
在http://www.netbeans.org/features/ruby/index.html查看 Netbeans
回答by Friedrich
ArachnoRubyis nicedone.
ArachnoRuby已经很好了。
回答by Pesto
If you are a fan of Eclipse, RDTused to be the way to go. I'm not sure whether you can get it for a standard Eclipse install anymore. But it is actively developed as part of Aptana RadRails, though.
如果您是 Eclipse 的粉丝,那么RDT曾经是您要走的路。我不确定您是否可以再通过标准 Eclipse 安装获得它。但是,它作为Aptana RadRails 的一部分被积极开发。
回答by fakeleft
The Ruby edition of Netbeans 6.5 is the best one I've used so far, and I've pretty much had a go at all of them (Komodo, the various Eclipse plugins/ruby-specific releases like RadRails, beta release of e (might be usable nowadays, but I assume it has no debugger, which is key for me), ArachnoRuby, some others i don't recall).
Netbeans 6.5 的 Ruby 版本是迄今为止我用过的最好的版本,我几乎都试过了(Komodo,各种 Eclipse 插件/特定于 ruby 的版本,如 RadRails,e 的测试版(现在可能可用,但我认为它没有调试器,这对我来说很关键),ArachnoRuby,还有一些我不记得了)。
I found it important to pick the Ruby-specific release of Netbeans - using the full-featured version made for some messy setup for rails projects, at least prior to 6.1 or so.
我发现选择 Netbeans 特定于 Ruby 的版本很重要 - 使用全功能版本为 Rails 项目的一些混乱设置制作,至少在 6.1 左右之前。
Just pick the download under Ruby from here: http://www.netbeans.org/downloads/index.html
只需从这里选择 Ruby 下的下载:http: //www.netbeans.org/downloads/index.html
I'm not sure what the complaints about speed are. It might take a while to startup, but who cares? - most big IDE's do. There are certainly no issues when editing code, so the only complaint might be during debugging. Besides Netbeans, I've only managed to get debugging to work in Komodo 4.2 and ArachnoRuby. Netbeans is certainly way faster when stepping through code than Komodo 4.2. I don't recall why I dismissed ArachnoRuby - probably because Netbeans was free and worked for me, or because I ended up adding the Python modules (I think you have to buy ArachnoPython as a separate editor).
我不确定对速度的抱怨是什么。启动可能需要一段时间,但谁在乎呢?- 大多数大型 IDE 的做法。编辑代码时肯定没有问题,所以唯一的抱怨可能是在调试期间。除了 Netbeans,我只能在 Komodo 4.2 和 ArachnoRuby 中进行调试。在单步执行代码时,Netbeans 肯定比 Komodo 4.2 快得多。我不记得为什么我解雇了 ArachnoRuby——可能是因为 Netbeans 是免费的并且对我来说有效,或者因为我最终添加了 Python 模块(我认为你必须购买 ArachnoPython 作为单独的编辑器)。