科莫多编辑功能,并自动完成要求 [英] Komodo Edit Function and Require autocompletion

查看:176
本文介绍了科莫多编辑功能,并自动完成要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道该怎么称呼它,所以我称它暗示。我注意到,每当我打电话的功能,并且我将鼠标悬停在该行,小弹出气泡出现,显示我说,函数定义中的第一个评论。有助于跟踪哪些该函数的作用或可能的参数。

但是,这并不总是发生,只是有时候。我在想,如果有一个preference我可以改变,因此它总是

另外,如果我写,我包括或要求一个文件,如果该文件中有功能的,我希望它能够识别我从该文件和显示提示调用该函数。是否有可能指向编辑向着包含的文件,因此它可以做一个选择吗?

最后,它看起来像它不会检测与暗示,是一类的内部函数/方法。任何变通办法?

谢谢,我不知道如果我失去了一个快捷方式什么的。


解决方案

  

我在想,如果有一个preference我可以改变,因此它总是


code约定中的 API目录,的智能感知设置,或<一个href=\"http://stackoverflow.com/questions/5439730/calltips-docstring-while-viewing-function-list\">Macros可以提供帮助。


  

有可能指向编辑向着包含的文件,因此它可以做一个选择吗?


转到编辑=> preferences =>语言,再加入下的 PHP 或相关的语言。


  

最后,它看起来像它不会检测与暗示,是一类的内部函数/方法。任何变通办法?


使用 PHPDoc的/ JSDoc 要解决这一点。

I'm not sure what to call it so I'm calling it hints. I notice that whenever I'm calling a function, and I hover over that line, little popup bubbles appear that show me the first comment in said function definition. Helps keep track of what that function does or the possible parameters.

But that doesn't always happen, just sometimes. I was wondering if there's a preference I could change so it always does.

Also, if I'm writing and I include or require a file, if that file has functions in it, I'd like it to be able to recognize the function I'm calling from that file and display hints. Is there maybe an option to point the editor toward the included file so it can do that?

And finally, it's looking like it won't detect functions/methods with hinting that are inside of a class. Any workarounds?

Thanks, I wonder if I'm missing a shortcut or something.

解决方案

I was wondering if there's a preference I could change so it always does.

Code conventions, API catalogs, Intellisense settings, or Macros can help.

Is there maybe an option to point the editor toward the included file so it can do that?

Goto Edit=>Preferences=>Languages, then add the file paths under PHP or the relevant language.

And finally, it's looking like it won't detect functions/methods with hinting that are inside of a class. Any workarounds?

Use PHPDoc/JSDoc to workaround this.

这篇关于科莫多编辑功能,并自动完成要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆