Git Product home page Git Product logo

sublime-ava's Introduction

sublime-ava

Snippets for AVA

Install

Install AVA with Package Control and restart Sublime.

Snippets

Included are some snippets & completions useful for writing AVA tests.

Start writing a snippet's tabTrigger and then press Tab ↹ to expand the snippet.

Snippets are fuzzy matched, so you can for example just write tde to get the t.deepEqual() snippet.

Related

License

MIT © Sindre Sorhus

sublime-ava's People

Contributors

kipit avatar samverschueren avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kipit isabella232

sublime-ava's Issues

Snippet feedback

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.