Aptana function definition popups

a 夏天 提交于 2019-12-22 21:53:46

问题


I've noticed that in Aptana 2.0 over 1.5.1 that when typing a php function, you no longer get the popup window showing the function description and it's parameters.

Does anyone know how to get this working again? As I relied on it quite heavily to remember which parameters went where. Open in PHP Manual shortcut Shift+F2 also doesn't work either, so all I can do is open my browser and keep php.net open all the time.

Are either of these features functional? I know that Open delcaration has never worked annoyingly, but I had the function popup in 1.5.1 perfectly.


回答1:


I use this AutoHotKey script to get the PHP manual in a new browser tab for the selected text in any program:

;Windows+p for Google's I'm feeling lucky "php + selected text"
#p::
oCB := ClipboardAll ; old Clipboard
Sendinput, ^c
GoogleSearch:= "http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=php+" Clipboard
ClipBoard := oCB ; restore ClipBoard
Run, %GoogleSearch%
return

Not ideal, but will get you the PHP manual quickly.




回答2:


First, go to Window -> Open Perspective -> Other and check you're in the PHP perspective and not the Aptana Web one. I'm not sure if this is necessary, but it can't hurt to try.

Secondly, try right clicking on a PHP file in Aptana's navigator / project explorer and go to Open With -> (Other ->) -> PHP Editor. This will open it with PDT, instead of Aptana's web editor (which has discontinued PHP support).



来源:https://stackoverflow.com/questions/2644056/aptana-function-definition-popups

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!