Skip to content

Attempt to automatically work out delimiter on import? #26

Description

@caro401

The errors you get when the delimiter is incorrectly set can be really confusing for users. We can have a pretty good idea of what the first (header) row of an import CSV should look like, because we specify in the plugin docs what this has to look like.

I think we might be able to help users by checking that parsing the first/header line with the provided delimiter gives a correct-looking result, and if not give the user a clear error message saying we think the delimiter setting might be wrong, and suggest what we think it should be and how to change that setting.

I don't think we should get rid of the existing configuration option or the default value ,, since this is also used when exporting. We should however make the docs about this setting more prominent

@flachware does this correctly summarise our earlier discussion?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions