Hello everybody,
I'm using ATK4 about six months and found it fantastic, but I was always bothered by the fact that the IDE's not being able to run the autocomplete.
I looked for a way to "work around" this problem and found the dynamicReturnType plugin for PHPStorm.
Work in a very simple way, basically creates a file dynamicReturnTypeMeta.json anywhere in the project. Also it internally combines Them to make a single project config.
An example json file for atk4:
{
"methodCalls": [
{
"class": "\\AbstractObject",
"method": "add",
"position": 0
}
],
"functionCalls": [
{
"function": "\\add",
"position": 0
}
]
}
Worked fine for me.
----
Another method, native in PHPStorm, is the Advanced Metadata:
But I could not make it work.