IDE PHPStorm Autocomplete

72 views
Skip to first unread message

Danilo Andrade

unread,
Jan 9, 2015, 12:35:56 PM1/9/15
to agile-too...@googlegroups.com
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.

Martijn Beurze

unread,
Jan 13, 2015, 3:48:29 AM1/13/15
to agile-too...@googlegroups.com
A great find! Thnx.

Op vrijdag 9 januari 2015 18:35:56 UTC+1 schreef Danilo Andrade:
Reply all
Reply to author
Forward
0 new messages