vscode-markdown-table-formatter icon indicating copy to clipboard operation
vscode-markdown-table-formatter copied to clipboard

apply on other plain-text tables too?

Open goyalyashpal opened this issue 2 years ago • 1 comments

  • would it be possible to use this awesome extension on dsv (delimiter-separated-values) tables too?
  • where the "d" is mostly comma , i.e. the CSVs

looking at this file though, https://github.com/fcrespo82/vscode-markdown-table-formatter/blob/master/src/MarkdownTableRegex.ts it indeed seems non-trivial to support different formats, but i just thought to share the thought with u.

goyalyashpal avatar Nov 25 '23 06:11 goyalyashpal

well, one way can be to make it work on the basis of file type & have different parser for dsv (or just csv too for the moment).

once the parser makes the source into the table object - i guess then that manipulation operations can work 90% the same. that is, if the output part is not directly coupled with manipulation

goyalyashpal avatar Nov 25 '23 12:11 goyalyashpal