How to sort selected lines
Is it possible to sort selected lines in Wing IDE? If so, how to do it?
Is it possible to sort selected lines in Wing IDE? If so, how to do it?
There is a command called sort-selected that does this. You'll need to invoke it either from Edit > Command by Name, or by binding a key to it from the User Interface > Keyboard > Custom Key Bindings preference, or by adding a toolbar item (right-click to customize).
Thanks. Very useful!
Is there a list of all possible commands and an explanation what they do?
Yes, in the command reference: https://wingware.com/doc/commands
Which currently is inexplicably in German... will fix that shortly!
OK now in English again.
I looked through the sections but I didn't find sort_selected command
It's supposed to be in https://wingware.com/doc/commands/scrip… but for some reason that's empty. We'll look into fixing that. It only contains a few commands since most are not in that category.
You don't need to do that. I was just curious.
To enter a block of code:
Comments