Components not detected properly
chadfurman opened this issue · comments
Detection of components, especially components in plugins and/or parent classes, is faulty. As it stands, $this->Json->render shows Json as not available., let alone the render() method. Ctrl+click on the component goes nowhere.
I'm on a Cake1.2 project right now, and I'd be happy to make sure it works on this older version...
I'm thinking that this is a case for reference contributors? https://confluence.jetbrains.com/display/IntelliJIDEA/Reference+Contributor
https://github.com/vexus2/cake-storm/blob/master/src/com/vexus2/cakestorm/reference/FactoryReferenceContributor.java
https://github.com/vexus2/cake-storm/blob/master/src/com/vexus2/cakestorm/reference/CakeStormReferenceContributor.java
https://github.com/vexus2/cake-storm/blob/master/src/com/vexus2/cakestorm/reference/StringLiteralReferenceProvider.java
https://github.com/vexus2/cake-storm/blob/master/src/com/vexus2/cakestorm/reference/TemplateReferenceProvider.java