Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting RESX display by column alphabetically #10

Open
enenra opened this issue Jul 7, 2023 · 3 comments
Open

Sorting RESX display by column alphabetically #10

enenra opened this issue Jul 7, 2023 · 3 comments
Assignees

Comments

@enenra
Copy link

enenra commented Jul 7, 2023

Hi. Love the extension so far - it looks very nice and clean!

One thing I would love to be able to do in it is clicking on the headers (once) to sort the RESX entries A to Z by the contents of that column, and click another time to reverse the sorting.

I often find that I enter new strings haphazardly as I need them, so being able to sort them would help with my ability to keep an overview a lot.

@timheuer timheuer self-assigned this Jul 7, 2023
@timheuer
Copy link
Owner

timheuer commented Jul 7, 2023

@enenra do you expect the sort to actually modify the underlying XML document itself or just a view model here? I think this is easily attainable, but may also affect the ordering of the XML (given how I have it right now), without a bit more work.

@enenra
Copy link
Author

enenra commented Jul 7, 2023

No, it should probably be purely on the presentation layer, not latering the structure in the actual XML. At least that would be plenty for me. If it affected the xml underneath it wouldn't be an issue for me either though.

The one other thing that would be nice is if the editor remembered which way it was sorted last and reapplied it upon opening a resx file.

@timheuer
Copy link
Owner

timheuer commented Jul 7, 2023

I played around with this quickly this AM thinking oh, should be simple to sort the array bound to the grid and yeah, that's not working ;-) -- will keep looking, but not as simple with the grid that I thought!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants