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 - Patch for: Code templates: table sorting enhancement
Summary: Patch for: Code templates: table sorting enhancement
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.0.1
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2009-10-02 18:57 UTC by gliesian
Modified: 2013-07-10 21:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed patch (1.94 KB, patch)
2013-06-21 13:42 UTC, markiewb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.