Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Dropdown/Autocomplete inside snippets #186

Open
@loranger

Description

@loranger

Hi,

It may be useful to use dropdown list inside snippets placeholder as textmate does.

Let's say I create a snippet for the HTML <input> element.
That would be really powerful if I was able to write it like this ;

'.text.html.basic':
  'Input Element':
    'prefix': 'input'
    'body': '<input type="${1:(text,submit,hidden,button)}" value="$2"/>'

and use it like that :

I don't know how feasible it is, but it would be really convenient, at least for a bunch of my snippets, for a lot of HTML snippets, Laravel snippets and a lot of methods which signature change depending on the context.

Whether you consider my enhancement proposition or not, I'd like to thank you all for this awesome editor.

Atom Version: 1.2.4
OS and Version: OSX 10.11.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions