Yii Framework Forum: Aptana Yii Support Autocomplete - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Aptana Yii Support Autocomplete fix aptana to support Yii framework autocomplete Rate Topic: -----

#1 User is offline   Firas Abd Alrahman 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 05-August 13

Posted 05 August 2013 - 03:30 PM

Aptana does not provide auto complete list for class with type (CApplication) came from Yii::app()->


I noticed that the problem was not with Yii itself , it is with case
class::func()->
also in
self::$x->
in the previous two cases , Aptana PHP processor fail to detect variable type and function return type to give autocomplete list, and you will lost an important feature.
I modified the plugin file com.aptana.editor.php to correct this bug , then , exported the new package ,

replaced the new plugin file with file older one com.aptana.editor.php_3.3.0.1365773524.jar

where the text after _ refer to file version , and may change according to updates you made.
You may find multiple files with different versions (com.aptana.editor.php.*.jar) ,and the newer file will be the used one


Steps to install the new Plugin:
  • download new file from attachments , extract the zip archive
  • Copy the file to aptana plugins folder in aptana installation.
  • find the file com.aptana.editor.php.*.jar
  • copy file name (file name only)
  • delete the file
  • rename the file com.aptana.com.aptana.editor.php_new.jar to the copied one.

And notice the change :)

Attached File(s)


0

#2 User is offline   Firas Abd Alrahman 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 05-August 13

Posted 06 August 2013 - 06:16 AM

Aptana git Accepted the change , hope they will include this fix in the next update
0

#3 User is offline   Firas Abd Alrahman 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 05-August 13

Posted 21 August 2013 - 05:59 AM

Aptana fixed the bug, now you just need to update. :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users