English 中文(简体)
鲁比拉文本的自动合并?
原标题:Auto-completion in Textmate for Ruby?

I m 真正用于由Netbeans产生的汽车结业。

在Netbeans,当我打上了护堤,然后打上了警棍时,它将印制一份“强食”类方法清单。

文本Mate似乎没有这种功能。

您能补充吗?

节省ALOT的时间,而不是使用ri/irb/online doc。

最佳回答

你发现文本编辑与科学、技术和革新研究所之间的根本区别:编辑版text(duh!),即无结构的品行。 它不了解任何物体、信息、方法、组合、模块、类别、名称空间、类型、插图、阵列、斜体、数字、字面等。 这样做是巨大的,因为这意味着你可以编辑任何thing,但这意味着编辑任何particular事情比编辑专门编辑更困难。

A.R.D.A.R.R. edits Ruby Program,即高度结构化的物体、方法、类别等目录。 这一点是巨大的,因为民主选举学会了解构成法鲁比方案的规则,从而使得你无法撰写非法的鲁比方案,并且可以向您提供自动转换文件guarantee,如果你开始实施法鲁比方案,你最终会执行法鲁比方案(例如自动重置)。 但这也意味着,你可以只<>>> > edit Duncan Program。

简言之,根本不可能做你要求的文本编辑做的事情。 你们需要一个发展信息网。 (说明:您can当然在文本编辑的顶端建立国际民主和选举援助学会。) 这方面的一个很好例子。 但从我所读的角度来看,文本Mate plugin AP根本不足以做到这一点。 我会错,尽管——因为我没有一位麦克马,我主要依靠听途说。

问题回答

Install the Duncan TextMate bundle, open a Duncan file and category alt+esc to have the autocompletion.

TM s "equivalent" is hitting escape, I believe. You can make escape "go across files" for completion if you use the ruby amp TM bundle http://code.google.com/p/ruby-amp/

GL. -r





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...