Welcome Guest, Not a member yet? Register   Sign In
Autocomplete
#10

hey please do what you will with the code i posted -- this was a very quick solution cobbled together from other solutions just to get me up and running for testing out phpstorm to make sure i could get it working.

HOWEVER i did label the libs as to which are deprecated in CI 3, which are core, which are for the database, etc.
so i think thats perhaps a good pattern because it gives everyone a quick overview of what to expect for the code complete,
and where to find the classes in the system files. also i think for the db in ci 3 it needs to be @property CI_DB_query_builder $db because its not called active record any longer. and there has to be some clever solution for accessing result methods from a query.

also i saw one recent solution on github where they did it as a helper, i didn't try it out but maybe there are advantages versus an autocomplete config file.
https://github.com/wenpeng/CodeIgniter-PhpStorm-Helper
Reply


Messages In This Thread
Autocomplete - by Marlon Schultz - 10-19-2015, 09:02 AM
RE: Autocomplete - by sv3tli0 - 10-19-2015, 11:02 AM
RE: Autocomplete - by Marlon Schultz - 10-19-2015, 12:43 PM
RE: Autocomplete - by cartalot - 10-19-2015, 01:47 PM
RE: Autocomplete - by sv3tli0 - 10-19-2015, 11:08 PM
RE: Autocomplete - by Marlon Schultz - 10-20-2015, 01:03 AM
RE: Autocomplete - by cartalot - 10-20-2015, 02:09 PM
RE: Autocomplete - by Marlon Schultz - 10-21-2015, 01:37 AM
RE: Autocomplete - by Marlon Schultz - 10-21-2015, 01:40 AM
RE: Autocomplete - by cartalot - 10-21-2015, 02:10 PM
RE: Autocomplete - by Marlon Schultz - 10-21-2015, 11:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB