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 913
  • OS X 632
  • Linux 298
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 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5
Windows 1 0 0 0 0 0 0 0 0 0 0 3 0 0 0 1 0 0 0 1 0 0 2 1 0 0 0 1 0 1 2 0 1 0 0 0 0 1 1 1 0 0 0 0 0
OS X 0 0 0 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 1 0 0 0 0 0 0 0 1 1 0 0 1 1 0
Linux 0 2 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 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