Bug 232034 - [nls tooling] Properties File editor: allow to sort by key name
Summary: [nls tooling] Properties File editor: allow to sort by key name
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 05:48 EDT by dev2null CLA
Modified: 2008-05-14 08:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dev2null CLA 2008-05-14 05:48:54 EDT
It should be possible to sort entries in a properties file based on the key names. 
 Example:
- File before sort
# example file
bar=3
c=1
# comment for abb
abb=5

- File after sort
# example file
# comment for abb
abb=5
bar=3
c=1

I'm not sure how commented vales should be treated. In the example above I kept the first comment block and moved the comment for abb.