Argument hint to show path suggestions Follow
Is it possible to hint phpstorm to show path suggestions for a specific argument?
Something like
/**
@paramHint completePath $path
*/
function compile_template($path){
}
Please sign in to leave a comment.
Hi there,



Unfortunately not.
But you can use Language Injection and manually inject "File Reference" in it when calling such function.
Yes, it's a temp workaround as 1) injection is temporal and 2) needs to be done manually when using that function (on every function usage) which is not convenient for sure.
P.S.
https://youtrack.jetbrains.com/issue/WI-20028 -- watch thise ticket (star/vote/comment) to get notified on progress.
Thank you!