Skip to content

support for max number of columns #211

@hellochar

Description

@hellochar

Version?

  • plugin 0.11.7
  • vscode 1.104.3

Feature

I'd like a way to configure the plugin to error if we have more than a max number of columns. We have a team of ~20 people modifying csvs that should only have three columns, one of which is freeform text. Some people edit by hand, while others use this plugin. Sometimes an erroneous unquoted comma slips through. Then the next time someone uses EditCSV, we get a fourth column (or more), and on save an extra comma is added to every row. This piles up over time to create many commas (we had one csv with fifty extra commas on ~2000 rows!).

An alternative solution is to modify the write behavior to leave out dangling commas if the row has no more content in the ending columns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions