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 187674

Summary: Option to disable \-prefixing of built-in functions
Product: php Reporter: coops
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch

Description coops 2010-06-16 18:10:08 UTC
In the new version I noticed that it now autocompletes built-in functions to \function_name. I want a way to turn it off because of personal preference to not prefix built-in functions with \. PHP will fall back to the global function anyway.
Comment 1 Filip Zamboj 2010-09-15 12:31:52 UTC
batch reassigning
Comment 2 honzamarek 2011-02-28 22:43:47 UTC
Any progress with this anoying bug?
Comment 3 OndrejBrejla 2011-03-04 12:13:43 UTC
It seems to work properly in the nightly NetBeans IDE Dev (Build 201102280001).
Comment 4 OndrejBrejla 2011-03-07 09:38:59 UTC
It adds backslash only if you are in the namespace...and it IS really annoying...
Comment 5 OndrejBrejla 2011-03-08 13:46:17 UTC
Created attachment 106820 [details]
Patch
Comment 6 Petr Pisl 2011-03-08 16:53:15 UTC
The patch was applied.
Comment 7 Quality Engineering 2011-03-09 05:35:28 UTC
Integrated into 'main-golden', will be available in build *201103090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/71ea7e929142
User: Petr Pisl <ppisl@netbeans.org>
Log: #187674 - Option to disable \-prefixing of built-in functions