What CI friendly text editor do you use? |
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 |
Welcome Guest, Not a member yet? Register Sign In |