Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3799

Improve extracting types from PHP annotations

    XMLWordPrintableJSON

Details

    Description

      Doctrine and some other libraries support short ::class pseudo constants in annotations. In addition, quoting the arguments is not required. I propose extending the PHP annotation parser in NetBeans to support it as well.

      Please see the attached sample project, class Entity1 has several annotated members, all in different fashion. Class names in all of those annotations should be recognized and 'clickable'.

      I will create a pull request.

      Attachments

        1. ClassAnnotations.zip
          1 kB
          Czukowski

        Issue Links

          Activity

            People

              czukowski Czukowski
              czukowski Czukowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h