Skip to content

Extend package and use generated $expectedArgumentSets #1673

Open
@akalongman

Description

@akalongman

Question:

I have my custom site_route helper and I want PHPStorm suggestions, like it does with route method. I've created custom meta file:

namespace PHPSTORM_META {

    expectedArguments(\site_route(), 0, argumentsSet('routes'));
}

but looks like routes argumentSet from the package's .phpstorm.meta.php file is not available here. Can I somehow realize this, without writing custom argumentSet generation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions