Haehnchen / idea-php-shopware-plugin

Shopware Plugin for PhpStorm which extends Symfony Plugin
MIT License
54 stars 9 forks source link

Add Config Index #86

Closed shyim closed 5 years ago

shyim commented 5 years ago

Indexes all {config name=foo} or Shopware()->Config()->get('foo'); to show it as autocomplete.

The Indexer in this Pull Request does not index some results like this here.

I tried many things loop over all children to find the Config and much more without success. I have no idea's anymore 🙈

PSI Viewer. Have you a idea how solve this issue?

Images

Img 1 Img 2

Haehnchen commented 5 years ago

for $this->config->get('sBASEFILE') maybe turn around your thinking about the tree structure. :) the chaining inside the tree is logically inverted.

so methodreference is the starting point and you must go down from there.

Haehnchen commented 5 years ago

@shyim what to release this plugin. any updates here? some more help needed?

shyim commented 5 years ago

I have currenly no time sorry. scd 😅. I will look after scd on it

shyim commented 5 years ago

Fixed now 😆. Searching now for MethodReference. Added also tests

Haehnchen commented 5 years ago

done via https://github.com/Haehnchen/idea-php-shopware-plugin/pull/99