Table Cleaner
Sublime Text package for aligning and cleaning tables
Details
Installs
- Total 5K
- Win 2K
- Mac 2K
- Linux 838
Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Mac | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Table Cleaner for Sublime Text 3
This is a package for Sublime Text 3. If you are looking for the package for Sublime Text 2, then check this repo out.
What is it for?
Aligns and cleans the tables for a prettier output. Useful for programming languages like Cucumber or LaTex.
Before
After
Using Sublime Package Control
If you are using Will Bond's excellent Sublime Package Control, you can easily install the Table Cleaner package via the Package Control: Install Package
menu item.
Using Git
Alternatively, if you are a git user, you can install the package and keep up to date by cloning the repo directly into your Packages
directory in the Sublime Text 2 application settings area.
Go to your Sublime Text Packages
directory and clone the package repository using the command below:
git clone https://github.com/amisarca/Sublime-Text-Table-Cleaner "Table Cleaner"
Download Manually
- Download the files using the GitHub .zip download option
- Unzip the files and rename the folder to
Table Cleaner
- Copy the folder to your Sublime Text
Packages
directory
Table Import
Align a table pasted from another source (e.g. a website).
Works only if “Indent using spaces” is NOT checked.
Settings
These settings can be found in Base File.sublime-settings - table_cleaner_delimiters - Delimiters between two cells of the table - default: [“|”, “&”, “\”] - table_cleaner_align_to_middle - Align the text of each cell to middle (if set to false, the text will be alligned to left) - default: false - table_cleaner_delimiters_white_spaces - The number of whitespaces between the text of a cell and the delimiters - default: 1 - table_import_separator - The separator inserted when formatting a table imported - default: “|” - table_import_sorround_with_separator - Append a separator at the beginning and the end of each line when importing a table - default: true
How it works
Select the table you want to clean, and press alt + ; and the table gets cleaned instantly. For cleaning a table pasted from another source press alt + shift + ;“ and the table gets cleaned instantly.
Contributing
Did you spot any bug or think of a great improvement? Create a new issue, or submit a pull request.
Changelog
- 0.0.1 Initial release