Community
Participate
Working Groups
Build Identifier: 2.2.0.v20100621 Have the following code in php file under PHP 5.3 project: <?php namespace NNN; use NNN| // type \ at cursor position | class Object { } The class Object will be suggested in CA list. Double-click on Object in CA suggestion list. Expected: You should get: <?php namespace NNN; use NNN\Object class Object { } Actual: Nothing happened. You still have the following: <?php namespace NNN; use NNN\ class Object { } Reproducible: Always
the same when you have in file1.php under PHP 5.3 project: <?php namespace ns; class CCC{ } and in file1.php under same project you have typed: <?php use ns| // type \ at cursor position |, then double click on CCC in CA: CCC // will not be written in editor
fixed in head and branch
Verified fixed. Kalin Yanev kalin.a@zend.com
the fixing code cause other bugs so reopen it,and use other method to fix this issue.
Created attachment 177919 [details] patch
reviewed, thanks!
fixed
Tested on 2.2.1.v20101001 Fixed