Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314987 - variables are shown multiple times in the code assist window
Summary: variables are shown multiple times in the code assist window
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 16:58 EDT by freeman 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 freeman CLA 2010-05-29 16:58:17 EDT
Build Identifier: 20100421

if I have a code like this:$columns = array();
$content = 'x';
if( $a == 1 )  {
   $content .= 'y';
}
..,

then $content is shown muliple times in the code assist window
it should be only once, it's still the same variable

Reproducible: Always

Steps to Reproduce:
1. happens allways when assigning multiple times to the same variable
2.
3.
Comment 1 Zhongwei Zhao CLA 2010-05-30 03:14:15 EDT
fixed in head
Comment 2 Gadi Goldbarg CLA 2010-06-17 07:34:23 EDT
Verified at PDT-2.2.0.v20100616
At showed example now content assist suggest only one of $content variable

Closing this issue...

Verified by
Teodor Kirkov
teodor.k@zend.com