Sublime Text plugin for highlighting csv/tsv table files in different rainbow colors
- Total 336
- Win 165
- OS X 121
- Linux 50
|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||Jan 13||Jan 12|
- Highlight columns in *.csv, *.tsv and other separated files in different rainbow colors.
- Provide info about columns on mouse hover.
rainbow_csv has content-based csv/tsv autodetection mechanism. This means that package will analyze plain text files even if they do not have “.csv” or “.tsv” extension.
Rainbow highlighting can also be manually enabled from Sublime context menu (see the demo gif below): 1. Select a character that you want to use as a delimiter with mouse. Delimiter can be any non-alphanumeric printable ASCII symbol, e.g. semicolon 2. Right mouse click: context menu -> Rainbow CSV -> Enable …
You can also disable rainbow highlighting and go back to the original file highlighting using the same context menu. This feature can be used to temporary rainbow-highlight even non-table files.
Manual Rainbow Enabling/Disabling demo gif:
Difference between “Standard” and “Simple” dialects
When manually enabling rainbow highlighting from the context menu, you have to choose between “Standard” and “Simple” dialect.
* Standard dialect will treat quoted separator as a single field. E.g. line
sell,"15,128",23% will be treated as 3 columns, because the second comma is quoted. This dialect is used by Excel.
* Simple dialect doesn't care about double quotes: the number of highlighted fields is always N + 1 where N is the number of separators.
- This Sublime Text plugin is an adaptation of Vim's rainbow_csv plugin