Comments (7)
What version CI are you running?
Is it just straight CI or do you have HMVC setup?
from phpstorm-cc-helpers.
It appears to be CI 2.0.3 .
I don't believe that there is HMVC.
Thanks for your quick response.
from phpstorm-cc-helpers.
Do you have this in the my_models class comment?
@property bifx_model $bifx_model
I just loaded CI 2.1.3 with a test model and it worked fine.
Active record seems to be working also. So it must be the way the phpStorm helpers are included or something. Weird.
What I did is started with a clean CI project.
I cloned this repo to my machine.
I loaded my CI project in phpStorm
Then I went to Settings -> Directories
Clicked Add Content Root -> Selected the CodeIgniter dir from this helpers in this repo.
Clicked Apply.
I instantly had my model completion and Active Record.
From your screenshot of your structure, it looks this way, but I'm not sure how you added it, so I thought I would mention what I did.
from phpstorm-cc-helpers.
Hi thanks for the reply :
I do have @property bifx_model $bidx_model
in my_models comment, although strangely the syntax highlighting isn't active for this file in the editor:
The other files have been added to the root without modification :
Using the diagram viewer for my_models:
and the CI_phpStorm.php:
This all looks good or right to me.
Now here is a diagram of the bifx_model:
I notice here that the bifx_model is BIFX_Model in this view.
So still not sure why this wont work -- any thoughts or suggestions?
Thanks so much for your help,
from phpstorm-cc-helpers.
From what I see it should be working.
Try changing the property def in my_models to BIFX_Model instead of lower case.
Also make sure my_models is not marked as text.
from phpstorm-cc-helpers.
Hmm I tried this -- I was able to get PHPStorm to do scytax highlighting on my_models by deleting it and creating a new file.... unfortunately this didn't solve the lack of code completion for the project I think I'll have to ask the folks at JetBrains to figure this out...
from phpstorm-cc-helpers.
This issue is pretty stale. Feel free to create a new one if needed.
from phpstorm-cc-helpers.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpstorm-cc-helpers.