lokalise / i18n-ally-jetbrains-docs

6 stars 4 forks source link

Autocompletion doesn't work for php method calls #39

Open roelleor opened 1 year ago

roelleor commented 1 year ago

Hi there, thanks for this wonderful plugin, it's supporting my work a lot! I'm using a custom setup with namespaced files per directory. The autocompletion functionality works well when I use the following template:

trans('%namespace%:%key%', %map%)

Autocompletion doens't work for the following templates. Note that these only differ in not being a function, but a method call:

$translator->trans('%namespace%:%key%', %map%)
$this->translator->trans('%namespace%:%key%', %map%)

The following features don't work either with templates with a method call:

My configuration is as follows:

Php Source: