Community
Participate
Working Groups
Go to Code Assist preferences page. Check if the completion inserts a code Tick "Completion Inserts" check box. Have the following PHP code: <? class national{ } class natural{ } $journal = new na|tional(); // | is a cursor sign location ?> At the cursor sign location rise Code Assist window (Ctrl + Space). From the list choose "natural" Expected: The "natural();" is inserted before the "tional()" class declaration segment: $journal = new natural()tional(); Actual: $journal = new natualtional(); Brackets are missing. Found in N20081103
This was fixed a long time ago.
Still reproducible in eclipse-php-galileo-RC4-win32 Kalin Yanev kalin.a@zend.com
Created attachment 159872 [details] patch
Applied the patch. Thanks for contribution.
Tested in EclipsePdt-2.2.0.v20100427 Still reproducible. Reopening.... Kalin Yanev kalin.a@zend.com
fixed in latest code.
EclipsePdt 2.2.0.v20100517 Verified fixed. Kalin Yanev kalin.a@zend.com