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 209171 - \GlobalClass should be selected by default
Summary: \GlobalClass should be selected by default
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 13:21 UTC by Ondrej Brejla
Modified: 2012-03-07 18:11 UTC (History)
0 users

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 Ondrej Brejla 2012-03-05 13:21:30 UTC
<?php
namespace {
    
    class GlobalClass {}
    
}

namespace MySpace {
    
    class ^Blah extends GlobalClass {
        
    }
    
}
?>

\GlobalClass has to be used in this case, otherwise it's not a working script. So the default selected value has to be "\GlobalClass", not "Don't use type".
Comment 1 Ondrej Brejla 2012-03-05 13:22:03 UTC
I mean "Fix uses..." action invoked under "^" mark.
Comment 2 Ondrej Brejla 2012-03-05 13:53:09 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/3723636369a9
Comment 3 Quality Engineering 2012-03-07 18:11:44 UTC
Integrated into 'main-golden', will be available in build *201203071105* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3723636369a9
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #209171 - \GlobalClass should be selected by default