Aptana Studio
  1. Aptana Studio
  2. APSTUD-2378

Aptana PHP Code Assist not working right

    Details

      Description

      {html}<div><p>Hi,</p>
      <p>When I create an empty PHP file and start writing some PHP code
      using some PHP native functions suggestions are only showing up
      when I press Ctrl+Space, even if in Preferences -> Aptana ->
      Editors -> Auto-Display content assist is on.</p>
      <p>And another issue that I've noticed is that content assist
      doesn't show up when you try to type hint a method argument, even
      though when you extend that same object content assisting suggests
      the object when pressing Ctrl+Space.</p>
      <p>For a better understanding:</p>
      <pre>
      <code class=
      "php">class MyClass extends AnotherClass { <<< Here AnotherClass shows up when pressing Ctrl+Space
      public function index(AnotherClass $obj) { <<< Here AnotherClass doesn't show up when pressing Ctrl+Space }
      }</code>
      </pre>
      <p>I'm using Aptana 3.0.1 on Windows 7.</p>
      <p>Thanks!</p></div>{html}

        Activity

        Hide
        Lucian Pacurar added a comment -
        {html}<div><p>Hi guys,</p>
        <p>I would be very happy if at least the auto suggestion without
        hitting Ctrl + Space fix will go into an earlier release.</p>
        <p>Thank you!</p></div>{html}
        Show
        Lucian Pacurar added a comment - {html}<div><p>Hi guys,</p> <p>I would be very happy if at least the auto suggestion without hitting Ctrl + Space fix will go into an earlier release.</p> <p>Thank you!</p></div>{html}
        Hide
        Ingo Muschenetz added a comment -
        {html}<div><p>Shalom--this may be fixed already. Can you confirm?</p></div>{html}
        Show
        Ingo Muschenetz added a comment - {html}<div><p>Shalom--this may be fixed already. Can you confirm?</p></div>{html}
        Hide
        Szűcs Krisztián added a comment -

        Hi,

        Auto suggestion is working.
        It is VERY difficult to work with frameworks (especially in the learning stage) without proper code assist.
        This bug caused me a lot of headaches.

        Please fix this bug as soon as possible!

        Thank You very much!

        Show
        Szűcs Krisztián added a comment - Hi, Auto suggestion is working. It is VERY difficult to work with frameworks (especially in the learning stage) without proper code assist. This bug caused me a lot of headaches. Please fix this bug as soon as possible! Thank You very much!
        Hide
        Shalom Gibly added a comment -

        Implemented support for PHP types code-assist inside function declarations.
        Also, we as of 3.0.4 we pop-up the CA more often, and not only after Ctrl+Space.
        The CA for this case will pop-up when you type a letter. For example, typing the 'A' from the 'AnotherClass' will trigger the assistance.

        Show
        Shalom Gibly added a comment - Implemented support for PHP types code-assist inside function declarations. Also, we as of 3.0.4 we pop-up the CA more often, and not only after Ctrl+Space. The CA for this case will pop-up when you type a letter. For example, typing the 'A' from the 'AnotherClass' will trigger the assistance.
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.5.201108261836
        Ubuntu 10.10

        Verified CA automatically proposes the base class after "extends". Verified CA proposes base class if typed characters in the derived class function parameter list match the base class label.

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201108261836 Ubuntu 10.10 Verified CA automatically proposes the base class after "extends". Verified CA proposes base class if typed characters in the derived class function parameter list match the base class label.

          People

          • Assignee:
            Shalom Gibly
            Reporter:
            Lucian Pacurar
          • Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development