nppQuickText
nppQuickText copied to clipboard
Setings language list to be sorted alphabetically?
Would it be possible to sort the listing of languages in the Settings windows alphabetically. It's a real pain to easily find the one you want. I suspect it is sorted by the Language number currently which has not a lot of relevance to most users.
I'll have to think of a way to do that. Currently Notepad++ has a list of languages in enumerated from 0 to 80+ in the same order as the dropdown which helps when you select an item from the dropdown - Windows provides the index number, which in this case corresponds to the language ID. To make it alphabetical, I'd need a sort routine and a mapping array to map from the Notepad++ language ID list to the new order in the dropdown.
Not impossible, but beyond my skills without a lot of research which I don't have much time for now.
NOTE: You can press the language pulldown and then just use the keyboard to start typing your language name and it should find / select it for you. Maybe not ideal, but that's the way I quickly get to the language I want.
Cheers.