Textmate 代码完成问题
我知道 ESC 键可以完成代码,但是有没有办法获得一个弹出窗口(我猜是工具提示)来显示一段代码的所有可能选择?例如,在编写 Javascript 时获取可用操作列表会很好。我使用过的其他应用程序(例如 Coda)可以执行此操作。我想看看 Textmate,但我很难克服这个缺失的功能,我发现它非常有价值,特别是作为一个相当新的程序员,他喜欢看看有哪些选项,因为它对我来说也是一个学习工具。我以为我已经找到了一个像我正在寻找的插件 Dialog2,但它似乎已经消失了,因为它本来是内置于从未发布的 TM2 中的。
我已经四处寻找这个问题的答案,并认为这是我的下一个最佳选择。谢谢。
I know the ESC key does code completion, but is there a way to get a pop-up(tool-tip I guess) that shows you all the possible choices for a piece of code? As an example, it would be nice when writing Javascript to get a list of available actions. Other apps I've used like Coda do this. I'd like to check out Textmate but I have a hard time getting past this missing feature which I find pretty valuable, particularly as a fairly new programmer who likes to see what options are there as it's a bit of a learning tool for me also. I thought I had found a plugin like what I'm looking for, Dialog2, but it seems to have disappeared as it was meant to be built-in to the never-released TM2.
I've looked around a fair bit for the answer to this question and figured this was my next best option. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我没有可用的 Textmate 来尝试,但我相信选项 Esc 应该向您显示可能的代码完成列表。
I don't have Textmate available to try it out, but I believe that option-Esc is supposed to show you the list of possible code completions.
查看微妙Gradient的tmbundle: https://github.com/subtleGradient/javascript.tmbundle
它知道如何自动换行数组和对象。文档查找也是如此。
Check out subtleGradient's tmbundle: https://github.com/subtleGradient/javascript.tmbundle
It knows how to auto-wrap for arrays, and objects. Documentation look-up too.