Skip to content

Add new Language snippet property #69

@delphidabbler

Description

@delphidabbler

A new snippet key named Language would be useful to enable users to add snippets of any language.

At a minimum the following would be needed:

  • pascal
  • none

Other popular languages could be added.

The default language to be used when Language is not specified should be none, with the ability for collections to override in the config file.

As an alternative to having to specify all permissible languages in the collection specs, could the user list the languages in the config file:

SupportedLanguages=c++,javascript,perl

If this is done though needs to be given as to whether pascal and none are always defined.

One solution could be to use a * language name in the list to mean "include all defaults", so that:

SupportedLanguages=rust,*

is equivalent to

SupportedLanguages=rust,pascal,none

Metadata

Metadata

Assignees

Labels

acceptedIssue will be actionedenhancementNew feature or requestv3 🆕To implement in next major version (v3)

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions