Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322879 - [PHP 5.3] Content assist does not suggest the class container in class variable comment block
Summary: [PHP 5.3] Content assist does not suggest the class container in class variab...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 04:29 EDT by Kalin CLA
Modified: 2020-05-14 10:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin CLA 2010-08-17 04:29:20 EDT
Build Identifier: 2.2.0.v20100621

Have the following code in php file under PHP 5.3 project:

<?php
namespace ns;
class CCC{
	/*@var $rt \ns\| */   //invoke Content Assist at cursor position |
var $rt = 435;
}

Expected:
The class container CCC should be suggested.

Actual:
No completion available.


Reproducible: Always
Comment 1 xu jiaxi CLA 2010-10-11 03:03:24 EDT
In my opinion, you should use the comment below for class member

<?php
namespace ns;

class CCC{

	/**
	 * @var |\ns\CCC   //CA will be suggested at curesor position when you press ctrl+space
	 */
	var $rt = 435;
}
Comment 2 Zhongwei Zhao CLA 2011-08-17 02:10:03 EDT
fixed in head
Comment 3 Sylvia Tancheva CLA 2011-09-08 06:53:44 EDT
Verified.
Ilina Stefanova