Giter Club home page Giter Club logo

Comments (7)

topdown avatar topdown commented on June 12, 2024

What version CI are you running?
Is it just straight CI or do you have HMVC setup?

from phpstorm-cc-helpers.

timothyjlaurent avatar timothyjlaurent commented on June 12, 2024

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.

topdown avatar topdown commented on June 12, 2024

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.
screen shot 2014-02-10 at 1 25 07 pm

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.

timothyjlaurent avatar timothyjlaurent commented on June 12, 2024

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:
image

The other files have been added to the root without modification :
image

Using the diagram viewer for my_models:

image

CI_DB_active_record:
image

and the CI_phpStorm.php:

image

This all looks good or right to me.

Now here is a diagram of the bifx_model:

image

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.

topdown avatar topdown commented on June 12, 2024

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.

timothyjlaurent avatar timothyjlaurent commented on June 12, 2024

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.

topdown avatar topdown commented on June 12, 2024

This issue is pretty stale. Feel free to create a new one if needed.

from phpstorm-cc-helpers.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.