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

PHP Code Assist problem with inherited classes

    Details

      Description

      Let's imagine this class in aptana project with PHP and Web nature

      class DemoController extends Controller
      {
      public function indexAction()

      { return array(); }

      }

      when i type "$this->" in aptana editor, code assist is shown but methods and variables of base class Controller are all missing. Just DemoController methods and variables are being shown currently. I think this is a bug because i've already tried to set aptana editor up and also add Symfony2 library to this project. After indexing was done it seems that this code assist still does not work properly.

      1. bug.png
        160 kB
      2. ca-namespace-1.gif
        21 kB
      3. ca-namespace-2.gif
        21 kB
      4. ca-namespace-3.gif
        16 kB

        Activity

        Hide
        skfist Marek Suscak added a comment -

        Will this bug be fixed sometimes ??? it is critical quite enough for PHP devs i think...

        Show
        skfist Marek Suscak added a comment - Will this bug be fixed sometimes ??? it is critical quite enough for PHP devs i think...
        Hide
        sgibly Shalom Gibly added a comment - - edited

        Targeted for 3.1 (or sooner)
        The main issue here is that the 'namespace' declaration on the top restricts the code assist from propagating up and collect the Controller's functions.

        Show
        sgibly Shalom Gibly added a comment - - edited Targeted for 3.1 (or sooner) The main issue here is that the 'namespace' declaration on the top restricts the code assist from propagating up and collect the Controller's functions.
        Hide
        sgibly Shalom Gibly added a comment - - edited

        New CA support screen-shots added

        Show
        sgibly Shalom Gibly added a comment - - edited New CA support screen-shots added
        Hide
        sgibly Shalom Gibly added a comment -

        Fixed for 3.1
        Added better support for the analysis of the type hierarchy. This help in providing better code-assist for 'namespaces' and 'use' statements.

        Show
        sgibly Shalom Gibly added a comment - Fixed for 3.1 Added better support for the analysis of the type hierarchy. This help in providing better code-assist for 'namespaces' and 'use' statements.

          People

          • Assignee:
            sgibly Shalom Gibly
            Reporter:
            skfist Marek Suscak
          • Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Poker Sessions

                This issue is currently not assigned to any Poker Session.