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.
when going to the template manager, and right click on a file and selecting properties, if you put anything in this field, it will be automatically prefix with [ and post fix with ]. this will hide this file from usage... e.g. if you add a new php template, or even point to an existing one in the PHP section (I used the PHP file) then right click and go to properties and then just click inside the template categories field, the value will be surrounded with [], so PHP will became [PHP]. after this is done, there is no turning back; if you select close, the [] will be added anyhow. now, if you are going to File->New file and go to PHP, This file is no longer available!
Created attachment 101859 [details] Fix Really it is not PHP bug, it is netbeans template manager bug
Batch reassigning.
Assigning to the proper component. Please, evaluate and review the attached patch and apply it if it is correct. Thanks.
It's strange to adjust this in getValue(), it's much better to remove the brackets in setValue() where they are added.
Fixed by changeset: 195890:2aa820809a01 http://hg.netbeans.org/main/rev/2aa820809a01 Merged into release701 as changeset: 201055:7c977f5057f6
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/2aa820809a01 User: mentlicher@netbeans.org Log: #189160 Remove the brackets generated by List.toString().
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/7c977f5057f6 User: mentlicher@netbeans.org Log: #189160 Remove the brackets generated by List.toString(). (transplanted from 2aa820809a01194a3a852fd085bc115862508231)
*** Bug 192234 has been marked as a duplicate of this bug. ***