Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I sort lines in Geany?

Tags:

geany

I was looking for a way to sort lines in Geany.

Then found the solution below.

like image 713
Russell England Avatar asked Jun 04 '14 12:06

Russell England


1 Answers

I found the answer on http://crunchbang.org/forums/viewtopic.php?id=24607

  • From the menu bar, select Edit - Format - Send Selection to - Set Custom Commands.
  • Click the Add button in the Set Custom Commands window.
  • Enter sort in the command field, enter sort or a name to your liking in the label field, and then click the OK button.
  • Select the text that you want to sort.
  • Right-click on the selected text and select Format - Send Selection to - sort to sort the selected text.
like image 99
Russell England Avatar answered Oct 20 '22 16:10

Russell England