Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter & PhpStorm - Autocomplete plugin?
#3

when i was using the trial version of php storm i created a file in application/config called: autocomplete.php


in it, yes i had the above but you can also add class declarations in this file as well, so after your property comments as above put stuff like this:

PHP Code:
class CI_Controller {};
class 
MY_Controller extends CI_Controller {};
class 
Welcome extends MY_Controller {};
class 
Admin_Controller extends MY_Controller {};
class 
CI_Model {};
class 
MY_Model extends CI_Model {}; 

it's works pretty good. Is it perfect? no, but like i said, works pretty good.
"I reject your reality and substitute my own" - Adam Savage, M5 Inc.
Reply


Messages In This Thread
RE: CodeIgniter & PhpStorm - Autocomplete plugin? - by Hobbes - 05-26-2015, 05:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB