This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146176 - Methods are indexed as functions
Summary: Methods are indexed as functions
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-09-04 13:16 UTC by Tomasz Slota
Modified: 2008-12-23 17:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Slota 2008-09-04 13:16:45 UTC
Class methods are indexed twice: once as methods and then as functions. This results in unwanted completion results and in a performance penalty.

e.g. 

<?php
class Test{
    function method()
}

meth|; // cc offers 'method()'
?>


This regression was introduced by the fix for issue 142023
Comment 1 Tomasz Slota 2008-09-04 13:49:47 UTC
Fixed.

http://hg.netbeans.org/main/rev/aa072b040848
Comment 2 Quality Engineering 2008-09-05 06:19:44 UTC
Integrated into 'main-golden', will be available in build *200809050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/aa072b040848
User: Tomasz Slota <tslota@netbeans.org>
Log: #146176: Methods are indexed as functions
Comment 3 Mikhail Matveev 2008-12-23 17:15:18 UTC
Verified