Welcome Guest, Not a member yet? Register   Sign In
What CI friendly text editor do you use?
#4

(This post was last modified: 11-27-2014, 11:39 AM by Tim Brownlaw.)

I'm using phpstorm and it didn't work out of the box with CI

BUT what I found is by that using docblocs ( which you should be using ) and referring to the relevant CI classes in your controller/models/libraries using the @property makes it all work!

For instance if I'm using the CI Loader I'll add in @property CI_loader load in the classes Docbloc and then the auto complete and everything else starts working.

There are other ways of doing this with adding in predefined listings of all the CI "bits" but I Never got that working and find that documenting it in each file makes more sense, even if it is a few seconds more of typing...

So that could that be a possible solution to your phpEd to make it play nice with CI?

Cheers
Tim
Reply


Messages In This Thread
RE: What CI friendly text editor do you use? - by Tim Brownlaw - 11-26-2014, 08:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB