ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Tabs​To​Table

by jbrooksuk ST3

Sublime Text plugin which converts tabs to a table format

Details

Installs

  • Total 2K
  • Win 1K
  • OS X 723
  • Linux 338
Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29
Windows 1 2 0 1 0 0 0 1 1 0 0 0 1 1 0 1 0 0 0 1 2 2 0 0 3 0 1 0 3 2 0 0 1 0 0 1 1 0 0 1 1 0 0 0 0
OS X 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Linux 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

Tabs To Table

Converts tabular data into a glorious table format.

Installation

Available in Package Control, just search TabsToTable!

Example

Position    Elevation
0.00    0.00
1.00    0.17
2.00    0.37
3.00    0.58
4.00    0.76
5.00    0.99
6.00    1.20
7.00    1.45
8.00    1.69
9.00    1.86
10.00    2.06
11.00    2.24
12.00    2.48
13.00    2.65

Converts to:

Position  Elevation
     0.00       0.00
     1.00       0.17
     2.00       0.37
     3.00       0.58
     4.00       0.76
     5.00       0.99
     6.00       1.20
     7.00       1.45
     8.00       1.69
     9.00       1.86
    10.00       2.06
    11.00       2.24
    12.00       2.48
    13.00       2.65

Usage

  • Windows: CTRL+Alt+T
  • OSX: Super+Alt+T
  • Linux: Ctrl+Alt+T

Configure

TabsToTable is customisable!

Valid settings are:

  • col_separator - How are columns split up?
  • col_align - aligns text to the “left” or “right” of the column.
  • col_wrap - wraps the left and right side of each column with the col_separator value. This value includes no whitespace.

Props

Big props go to Dr. Drang for his post, Updated Text Tables bundle.

License

MIT - http://jbrooksuk.mit-license.org