"Table" - Format
Posted: 21.09.2023 14:24
Hello,
I have the following issue: There is a good amout of file formats (most notably .csv) which use plain-text to store table-data.
This always results in one out of two:
- If no formatting other than the separator is used, the files are unreadable with common text-editors, despite being plain-text, because the columns are not aligned.
- If (usually whitespace-) formatting is used to make it readable then the effort to maintain formatting quickly explodes with filesize to the point where files must be written through some formatting-script.
So what i'd like is a text-editor capable of displaying plain-text-table-files as actual tables, given a separator. It does not need to be fancy, we have Excel for fancy. Simply lining up the separators vertically would be enough. Since i already use CudaText and like it very much i was wondering if it's possible to implement such a feature. Preferably such that it can be associated with a lexer and supporting arbitrary separators.
I have the following issue: There is a good amout of file formats (most notably .csv) which use plain-text to store table-data.
This always results in one out of two:
- If no formatting other than the separator is used, the files are unreadable with common text-editors, despite being plain-text, because the columns are not aligned.
- If (usually whitespace-) formatting is used to make it readable then the effort to maintain formatting quickly explodes with filesize to the point where files must be written through some formatting-script.
So what i'd like is a text-editor capable of displaying plain-text-table-files as actual tables, given a separator. It does not need to be fancy, we have Excel for fancy. Simply lining up the separators vertically would be enough. Since i already use CudaText and like it very much i was wondering if it's possible to implement such a feature. Preferably such that it can be associated with a lexer and supporting arbitrary separators.