开发者

Aptana function definition popups

开发者 https://www.devze.com 2022-12-27 12:52 出处:网络
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.

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 wor开发者_开发百科king 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.


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.


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号