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 173649

Summary: Patch for: Code templates: table sorting enhancement
Product: editor Reporter: gliesian <gliesian>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: blocker CC: markiewb
Priority: P3 Keywords: PATCH_AVAILABLE
Version: 7.0.1   
Hardware: PC   
OS: Windows Vista   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed patch

Description gliesian 2009-10-02 18:57:40 UTC
In the Templates table, traversed to from Tools->Options->Code Templates...

It would be a nice enhancement if the table columns were sorted with clicking on the Abbreviation, Expanded Text and 
Description table headers.

-- Thanks, Robert
Comment 1 markiewb 2013-06-21 13:42:21 UTC
Created attachment 136145 [details]
Proposed patch

I like to propose a patch to solve this issue. This patch sets one property which makes the JTable sortable. Easy one.

@Dusan: Please review the patch and commit if appropriate. Thank you

BTW: Please don't try to change the code template options panel in the GUI builder. Currently there is a bug which changes the layout unintentionally. https://netbeans.org/bugzilla/show_bug.cgi?id=231636 (see the attached screenshot to see what I mean).
Comment 2 Dusan Balek 2013-06-21 17:27:41 UTC
Patch integrated. Thanks for your contribution!

http://hg.netbeans.org/jet-main/rev/066314960373
Comment 3 Quality Engineering 2013-06-23 02:09:36 UTC
Integrated into 'main-golden', will be available in build *201306222301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/066314960373
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #173649: Code templates: table sorting enhancement (contributed by markiewb@netbeans.org).
Comment 4 markiewb 2013-07-10 21:34:58 UTC
Verified in 201307011244.