Details

    • Type: Documentation Documentation
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None

      Description

      If an IDE would like to support annotations, it's currently only possible to display all resolvable classes in a code-hint menu when autocompleting annotations, as
      basically any class can be used for annotations.

      To make it possible for IDEs to detect classes which are explicitly meant to be used as annotations, it would be nice to agree on some common
      way of documenting annotations in PHPDocBlocks.

      Here's an example of what this could look like:

      https://github.com/pulse00/doctrine2/commit/25a14e9edc406edfd33e54fc38922a191e9cbe83

      This way IDEs can prioritize annotated classes in code-hints and add additional information to the user.

        Activity

        Robert Gruendler created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 12701 ] jira-feedback [ 13932 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13932 ] jira-feedback2 [ 15796 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15796 ] jira-feedback3 [ 18053 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Robert Gruendler
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: