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.
Summary: | [50cat] Customizable templates for Encapsulate Field refactoring | ||
---|---|---|---|
Product: | editor | Reporter: | gugrim <gugrim> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PLAN |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 228870 | ||
Bug Blocks: |
Description
gugrim
2005-09-29 10:31:53 UTC
+1 I'm working with major PHP frameworks like Zend and Symfony2. With both the convention is to break the method braces to a new line: public function foo() { return $this->bar; } Netbeans generates them with the starting brace in the same line: public function foo() { return $this->bar; } This should now be supported by the prefix/suffix naming support. I do not think templates are necessary as well, but please reopen if this is not sufficient. Fixed in jet-main 80f139ccdada Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/80f139ccdada User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #228870 - New API to support CodeStyle's prefix/suffix #65315 #81243 #224242 - Use CodeStyle's prefix and suffix configuration |