Skip to content

Feature Request: allow an option or selection list #265

@sigzero

Description

@sigzero

It would be nice to be to able to present multiple items to select from when the snippet section is called.

For example, for a shell script, I would define a TODO list like:

# ${1|TODO,FIXME,BUG,XXX|} - ${2:synopsis}

I've taken the construct from how vscode does it. So using the pipe character to enclose a comma delineated list gives a popup list to make a selection from.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions