Skip to content
This repository was archived by the owner on Aug 8, 2020. It is now read-only.
This repository was archived by the owner on Aug 8, 2020. It is now read-only.

Snippet feedback #4

Open
Open
@sindresorhus

Description

@sindresorhus

I included what I thought would be useful, but could use some feedback on it.

https://github.com/sindresorhus/sublime-ava/tree/master/snippets

Anything missing or something that could be improved? (Assertion snippets are planned https://github.com/sindresorhus/atom-sublime/issues/1).

Sublime has pretty powerful snippet system http://docs.sublimetext.info/en/latest/extensibility/snippets.html#substitutions, so I was thinking we could for example in the AVA snippet autofill the import by converting camelCase fooBar to foo-bar with a regex, e.g. import fooBar from 'foo-bar', so foo-bar is autofilled in this case.

Relevant Atom plugin discussion: avajs/atom-ava#4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions