Opened 5 years ago

Last modified 4 years ago

#668 new Bugs

Content Assist for Class

Reported by: ed_mann Owned by: ed_mann
Priority: 1 Milestone: 1.3.0
Component: PHP Editor Version: 1.2.x
Keywords: content_assist Cc:

Description

When you are working in the same file that the class is in. When you instantiate the class and then try to get content assist for the methods it is not working. Example is:

- Start Eclipse (3.3.1.1) with a new Workspace
- Create a new PHP-Projekt
- Create a new PHP-File test.class.php
Content:
<?php
class test {
  function method($arg) {}
}
$t = new test();
$t->method
?>

When I press CTRL+Space after $t->method nothing happens.

One thing I just observed:
If I write $this->method it works as expected. 

Change History (4)

comment:1 Changed 5 years ago by ed_mann

  • Component changed from CSS Editor to PHP Editor

comment:2 Changed 5 years ago by ed_mann

  • Milestone changed from 1.2.0 to 1.2.1

comment:3 Changed 5 years ago by mbowie

  • Milestone changed from 1.2.1 to 1.3.0

comment:4 Changed 4 years ago by incastrix

  • os_platform changed from Linux to Any
  • Version changed from 1.2.0-nightly to 1.2.x
Note: See TracTickets for help on using tickets.