Aptana Studio
  1. Aptana Studio
  2. APSTUD-4182

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Medium Medium
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: Backlog
    • 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.

        Activity

        Hide
        Stefan Bauer added a comment -

        the parent autocompletion bug is already tracked here: http://jira.appcelerator.org/browse/APSTUD-190

        Show
        Stefan Bauer added a comment - the parent autocompletion bug is already tracked here: http://jira.appcelerator.org/browse/APSTUD-190
        Hide
        Clayton Headley (Inactive) added a comment - - edited

        Edited for content and grammar as part of bug scrub 5/11/2012. Changed to Improvement for the second part of the ticket as the frist part is tracked by a separate ticket.

        Show
        Clayton Headley (Inactive) added a comment - - edited Edited for content and grammar as part of bug scrub 5/11/2012. Changed to Improvement for the second part of the ticket as the frist part is tracked by a separate ticket.

          People

          • Assignee:
            Praveen Innamuri
            Reporter:
            Stefan Bauer
          • Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: