简体   繁体   English

Sublime Text 3功能助手

[英]Sublime Text 3 functions helper

I'm new to Sublime Text, coming there for a little of PHPStorm and a lot of PHPdesigner. 我是Sublime Text的新手,这里提供了一些PHPStorm和许多PHPdesigner。 I'm very amazed of the capabilities of Sublime, but here is something I miss. 我对Sublime的功能感到非常惊讶,但这是我想念的。 In those editors, when starting typing a function (let's say preg_match in PHP, for example) a little title window shows up which contains a brief description of what the function is for, her args, the return value... 在这些编辑器中,当开始键入一个函数时(例如,在PHP中为preg_match),将显示一个小标题窗口,其中包含对该函数的用途,其参数,返回值的简要说明...

It does this for every functions in PHP, JS, Jquery and more. 它为PHP,JS,Jquery等中的每个函数执行此操作。 I couldn't find an equivalent plugin in Sublime. 我在Sublime中找不到等效的插件。

Thanks ahead for your help ! 谢谢您的帮助!

There is no tool tip API available in ST. ST中没有可用的工具提示API。 That being said, it is a highly requested feature. 话虽如此,这是一个非常需要的功能。 So in short, what you want is not possible (yet). 简而言之,尚无法实现您想要的。

It's probably also worth mentioning that ST is a text editor, not an IDE. 值得一提的是,ST是文本编辑器,而不是IDE。 While plugins such as SublimeCodeIntel, attempt to extend it's functionality to be more IDE like (such as context specific completions), it isn't built into the editor itself. 尽管诸如SublimeCodeIntel之类的插件试图将其功能扩展为更像IDE(例如,特定于上下文的补全),但它并未内置于编辑器中。 PHPStorm has information about your entire PHP project. PHPStorm包含有关整个PHP项目的信息。 In addition, it contains information for built in methods. 此外,它包含有关内置方法的信息。 With all that being said, I'm sure if the API made tool tips (among other things) available, some plugin developer would build in information for methods native to a particular language. 说了这么多,我确定如果API使工具提示(除其他外)可用,那么某些插件开发人员将为特定语言的本机方法构建信息。

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

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