Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327231 - [Regression] Auto Activation of Content Assist is not working after '->'
Summary: [Regression] Auto Activation of Content Assist is not working after '->'
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Zhongwei Zhao CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
: 326488 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-07 09:33 EDT by Petyo Tanchev CLA
Modified: 2020-05-14 13:23 EDT (History)
4 users (show)

See Also:


Attachments
patch (1.26 KB, patch)
2010-10-25 01:15 EDT, xu jiaxi CLA
jacek.pospychala: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petyo Tanchev CLA 2010-10-07 09:33:23 EDT
Use a code like this:

<?php
class AAA{
	public function abc(){
		echo "123";
	}
}

class BBB{
	public $yyy;
	function __construct(){
		$this->yyy = new AAA();
	}
}

$zzz = new BBB();

$zzz->|  // Here wait for Auto activation of the Content assist (should be enabled in Preferences)

Expected result: To suggest $yyy (or automatically add it, if option is enabled)

OR:

$zzz->yyy->| // Not working here as well.

Expected: to suggest/add 'abc()' function

In both cases using Ctrl+Space brings the Content assist, or adds the only one option.
Comment 1 xu jiaxi CLA 2010-10-25 01:15:37 EDT
Created attachment 181609 [details]
patch
Comment 2 Zhongwei Zhao CLA 2010-10-25 01:32:28 EDT
fixed in head

Contributed by Xu,thanks!
Comment 3 Zhongwei Zhao CLA 2011-05-12 02:01:01 EDT
change status
Comment 4 Zhongwei Zhao CLA 2011-05-12 04:21:33 EDT
*** Bug 326488 has been marked as a duplicate of this bug. ***
Comment 5 Ilina Stefanova CLA 2011-07-27 08:37:51 EDT
Verified.