Skip to content

Broken IDE auto completion for Craft::$app #7057

@gglnx

Description

@gglnx

Description

Since this commit by @angrybrad the phpdoc for Craft::$app has moved into the CraftTrait and is back referenced with @mixin. But Intelephense for VS Code for example doesn't support the @mixin pattern (bmewburn/vscode-intelephense#123), so at least for VS Code auto completion is now broken for Craft::$app 😢

Steps to reproduce

  1. Use VS Code
  2. Try to auto complete Craft::$app->getEle…

Additional info

  • Craft version: 3.5.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions