Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4182

Autocompletion does not work over more levels or parent classes in PHP

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: None
    • Component/s: Content Assist, Editor
    • Labels:

      Description

      I use Aptana with PHP and the content assist generally works. I will try to give some examples in which ways it doesn't work for me:

      Inheritance doesn't work at all if you use parent:: functionality. If you have Class A which extends Class B, then in Class A the parent:: content assist doesn't work. Additionally the "Click to follow" functionality doesn't work (if you click with the ctrl/cmd key on parent:: there is no link to the according class).

      Inheritance also doesn't work if you get objects over method calls.
      Example:

      Content assist works for:
      $obj->...
      but does not assist for:
      $obj->getAnotherObject()->...

      I don't get the possible methods/vars from the AnotherObject.

      The method getAnotherObject() in the $obj class is defined with phpdoc-style to have a return type to get content assist functionality.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              treudoof Stefan Bauer
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code