Lightweight CSV plugin that supports editing files in CSV/TSV format.
TSV file support: TSV files are recognized as such but treated as a variant of CSV files, the same syntax highlighting and code style settings are applied.
Code formatting: Default code formatting is 'Tabularize'. Can be changed in Settings -> Editor -> Code Style -> CSV
- CSV/TSV file detection
- syntax validation
- syntax highlighting (configurable)
- content formatting (configurable)
- quick fix inspections
- intentions (Alt+Enter), e.g. Quote/Unquote (all), Shift Column Left/Right
- structure view (header-entry layout)
- support for ',', ';', '|' or '↹' as value separator
- highlight of active column values
For more detailed information please have a look at the README
Thanks to @egoisticalgoat, @sabi0, @ptahchiev, @ghost and others for supporting me and the project!
IntelliJ IDEA Ultimate/PhpStorm/DataGrip/etc.: The plugin is fully compatible with the 'Edit as Table...' functionality.
In IDE releases prior v2017.3, the shortcut in the editor context menu becomes invisible when using this plugin. However, the option can still be accessed via Toolbar -> Edit -> 'Edit as Table...'.
Recent change notes
NEW: Custom 'Wrapping' settings
NEW: Column highlighter takes whitespaces into account
CHANGE: Column highlighting only happens on selection
FIX: CSV column info tooltip trumps spellchecker tooltip (but keeps the visualization of a typo)
FIX: Show tooltip even when caret is at the last position withing the CSV file
FIX: Support for suppressing inspections not relevant for CSV (e.g. 'Problematic Whitespace')
FIX: Structure View: proper handling of elements (instead of endless loading)
+ several code & performance improvements