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

Bug 318367

Summary: within an array declaration a comment will prevent further code-completion / autocomplete
Product: z_Archived Reporter: Kissaki <kissaki>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: silviya, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kissaki CLA 2010-06-29 14:47:53 EDT
Build Identifier: 20100617-1415

when
$obj->
works for autocomplete, after the comment it will no longer when doing like:

$array = array(
  'key1' => $obj->works(),
  // following won't autocomplete anymore
  'key2 => $obj->doesnt(),
);

Reproducible: Always

Steps to Reproduce:
$array = array(
  'key1' => $obj->works(),
  // following won't display functions via autocomplete anymore
  'key2 => $obj->doesnt(),
);
Comment 1 Zhongwei Zhao CLA 2010-06-29 23:08:07 EDT
could not be reproduced on pdt2.2 release,let QA to verify it.

Eclipse for PHP Developers

Version: Helios Release
Build id: 20100617-1415

(c) Copyright Eclipse contributors and others 2000, 2010.  All rights reserved.
Visit http://eclipse.org/

This product includes software developed by the
Apache Software Foundation http://apache.org/
Comment 2 Sylvia Tancheva CLA 2010-09-02 04:28:16 EDT
QA could not reproduce it as well.
Closing the bug.
If still relevant, please reopen and give more details on how to reproduce. Thanks