Skip to content

Improving the experience of adding snippets #16

Closed
@Mathys-Gasnier

Description

@Mathys-Gasnier

Adding each snippet line by line to the json file is really not ideal...
Would there be something against moving to a system where lines are not split ?
Even generating the snippet with a command line or something like this...

Two options are a script, to which we could pass the language, the category and the code of the snippet (code passed from a file maybe ?)
The other option would be to modify the storage and use something else than json, something more adapted to multiline string value.

I would like feedback on this before proposing a PR with an implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussNeeds to be discussed by communityenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions