Haehnchen/idea-php-symfony2-plugin

AssetMapper: Possible for the method autocomplete to be even more precise

weaverryan opened this issue · 2 comments

Hi @Haehnchen!

Really nice to finally meet you last week - you are such an asset (no pun intended) to the Symfony World :). You may have noticed in my closing Keynote that, after your recommendation, I upgraded to the LATEST version of the plugin so I would get some nice auto-completion when importing assets installed via importmap:require. That was excellent :).

Now I'm wondering one further thing. In the video below, when I type hljs., it seems to autocomplete every possible method, instead of the specific functions available from the specific file that was imported. Is that accurate? I think, normally, if PhpStorm is sure about the methods from an import, they'll be on top and in bold. Is this expected or something that can be improved even further?

Thank you!

asset-mapper-completion.mp4

Really nice to finally meet you last week - you are such an asset (no pun intended) to the Symfony World

thank you for the live coding and the running SymfonyCast episodes, that helps even more to understand it from user experience side.

it seems to autocomplete every possible method

the problem: its provided by PhpStorm even for other elements, but not in more strict known type elements, so i will check if this behavior is able to disable here.

image

image