idea-php-toolbox icon indicating copy to clipboard operation
idea-php-toolbox copied to clipboard

Is there a way to allow type:array registrar without providing a function?

Open porebskk opened this issue 7 years ago • 0 comments

I keep a big array in my project for configuration and I would liek to know if it is possible to have autocompletion for that scenario:

return [
    'navigation' => [
        'home' => [
            'route' => '<caret>',
        ],
    ],
];

What I tried so far is trying these signatures "array": "route" and "function": "", "array": "route". Both solutions without success. Is there a way to define a signature achieving autocompletion for arrays that arent passed as arguments into functions?

porebskk avatar Sep 18 '18 07:09 porebskk