plugin
plugin copied to clipboard
[Feature Request]: ide.json options for autocompleting translation files with a custom namespace.
Feature Description
It would be great if Laravel Idea could auto complete language files with the __()
helper based on an additional custom namespaces such as: Lang::addNamespace('Foo', base_path().'/app/Foo/Language/');
In this scenario, both the default Laravel language files and the namespace files would be available in auto-completion.
As an alternative, it would be great to add the namespace name and path to the ide.json file so that auto-completion is triggered when typing __('Foo::
.
Hi, Ralph.
I can probably add support for this, without ide.json.
BTW, why addNamespace
call is with 'Foo', but __('foo::
, not __('Foo::
?
Sorry. I made a typo. I corrected it.