简体   繁体   English

Textmate中的自动完成类方法?

[英]Autocomplete Class methods in textmate?

When I define a class "Bla" with the method "foo" in a file and than create a new file and write in textmate "Bla.f" is there a way to autocomplete the missing "oo"? 当我在文件中使用方法“ foo”定义类“ Bla”并创建一个新文件并在textmate“ Bla.f”中写入时,是否可以自动完成丢失的“ oo”?

I only found the ESC key but it doesn't work for this. 我只找到ESC键,但不适用于此键。

TextMate autocomplete only works with words you have already typed out in the same file. TextMate自动完成功能仅适用于在同一文件中输入的单词。 If you really need this functionality, I would check out some other editors. 如果您确实需要此功能,我将签出其他一些编辑器。 My personal favorite is VIM. 我个人最喜欢的是VIM。 In a way, it gives you the best of both worlds. 在某种程度上,它为您提供了两全其美的优势。 It's very lightweight and has autocomplete across files. 它非常轻巧,可以跨文件自动完成。 This means if you have a class Bla open in one tab, you can do autocomplete with it elsewhere in your application. 这意味着,如果在一个选项卡中打开了类Bla ,则可以在应用程序的其他位置对其进行自动完成。 If you're really looking for true class autocompletion, you'll need a full IDE like NetBeans or RubyMine. 如果您确实在寻找真正的类自动完成功能,则需要完整的IDE,例如NetBeans或RubyMine。

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

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