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 846
  • OS X 598
  • Linux 277
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7
Windows 0 2 2 2 2 1 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 1 0 2 1 0 2 0 0 0 0 1
OS X 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 3 0 1 1 0 0 0 0 0 0 0 0 2 2 0 0 0
Linux 0 0 1 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 1 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