Open wijourdil opened 6 years ago
That's an interesting case. Not sure how easy will be to solve this case using JS.
Hi @rmariuzzo,
In order to address this kind of issue you have to scan and index class constants from every php into the repository, and also resolve the use
statement in order to have a fully qualified class name (by resolving for example aliases).
I've tried something here : https://github.com/glayzzle/php-reflection but the library is not finished. You can maybe reuse some parts of code.
Best Regards, Ioan
@ichiriac that sound interesting, will take a look. I appreciate the details to avoid common pitfalls.
Hi ! The plugin works like a charm ! But I can't use class constants in the translations files, for example :
I get the following error :