You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 2.0 adds settings and with this the possibility to either
specify a column-separation character or let ColumnSort auto-detect the
separation character. The user can also specify to skip the column
header and the sorting order.
ColumnSort is a plugin package for Sublime Text version 3 which provides a simple means of sorting tab-separated text by column.
3
3
## Limitations
4
-
* ColumnSort currently only works with tabular text which has its columns separated with a tab character ('\t' or '\x09').
5
-
*Currently only ascending sorting is available.
4
+
* ColumnSort allows to either specify the column (field) separation character, or let ColumnSort try to auto-detect the separator via the settings.
5
+
*Either ascending or descending sorting is available via the settings.
6
6
7
7
## Usage
8
8
1. Install the package either
9
9
* by copyping the package to Sublime's package folder using the menu entry <kbd>Browse Packages…</kbd>, or
10
10
* by using the very convenient [Package Control](https://packagecontrol.io) plugin and choosing the <kbd>Install Package</kbd> command from the command palette.
11
-
2. Open a file with tab-separated content, or produce or paste suchlike text in a buffer.
11
+
2. Open a file with column-separated content, or produce or paste suchlike text in a buffer.
12
12
3. Select the lines you want to include to be sorted.
13
13
4. Press <kbd>Cmd Ctrl X</kbd> on the Mac, <kbd>Ctrl Meta X</kbd> on Linux or <kbd>Ctrl Alt X</kbd> on Windows. This will produce a popup window which displays the content of the first row as separate entries to choose from. The idea behind this is that often the first row contains header descriptions which makes identifying the data in the columns much easier.
14
14
5. Select an entry in the popup window with the up and down arrow keys and press <kbd>Return</kbd> or <kbd>Enter</kbd>, or click on an entry with the mouse.
15
15
6. The selected text will be **replaced** with the sorted text.
16
+
17
+
## Settings
18
+
The settings file currently has the following options to tinkle with:
0 commit comments