Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315536

Summary: Namespace assist
Product: z_Archived Reporter: Pavel Galaton <pavel.galaton>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: gadi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Video of issue, after unpack add .avi extension to the file (assist.avi) sorry for that. =\ none

Description Pavel Galaton CLA 2010-06-03 02:54:52 EDT
Build Identifier: 20100520-1308

I have class : \CMS\Application\Paths,
when I write: 
return new CMS\Application and pase a "\" it shows me Paths() its ok, but when i press enter cursor jumps "return new {here}CMS\App..." and no code inserted

Reproducible: Always

Steps to Reproduce:
I have class : \CMS\Application\Paths,
when I write: 
return new CMS\Application and pase a "\" it shows me Paths() its ok, but when i press enter cursor jumps "return new {here}CMS\App..." and no code inserted
Comment 1 Pavel Galaton CLA 2010-06-03 02:56:22 EDT
also every time when i press ctrl+space 
CMS\Application\{here}
cursor jumps to the start 
{here}CMS\Application\
Comment 2 Zhongwei Zhao CLA 2010-06-03 08:19:52 EDT
could not be reproduced use following php content:
<?php
namespace CMS\Application;
class Paths {
}

namespace other\Application;

\CMS\Application\|


Everything works as excepted.
Comment 3 Pavel Galaton CLA 2010-06-03 08:38:48 EDT
try this:
namespace CMS\Application;
class Paths {
}

namespace other\Application;

$var = new \CMS\Application\|
Comment 4 Pavel Galaton CLA 2010-06-03 08:45:56 EDT
Created attachment 170945 [details]
Video of issue, after unpack add .avi extension to the file (assist.avi) sorry for that. =\
Comment 5 Zhongwei Zhao CLA 2010-06-03 08:47:23 EDT
Hi,thanks

I got it.
Comment 6 Zhongwei Zhao CLA 2010-06-03 10:41:43 EDT
fixed in head
Comment 7 Gadi Goldbarg CLA 2010-06-17 02:24:04 EDT
Verified at PDT-2.2.0.v20100616 - it working correct with code provided by Pavel

Closing this issue...
Thanks

Verified by
Teodor Kirkov
teodor.k@zend.com