Giter Site home page Giter Site logo

brackets-snippets's Introduction

brackets-snippets

A brackets snippets extension. To install, go to Extension Manager, install from URL and enter https://github.com/jrowny/brackets-snippets

Usage

Ctrl-Shift-S shows you what snippets are available. Click any snippet to begin inserting.
Ctrl-Alt-V to insert the snippet. (Cmd-Alt-V on Mac).

type a trigger followed by parameters (optional), then hit Ctrl-Alt-V

f myFunc becomes

function myFunc () {
}

for x myArray becomes:

var x;
for (x = 0; x < myArray.length; x++) {

}

If you omit parameters, an inline form will appear. Use ESC to close the inline form or ENTER to complete the insertion.

Adding Snippets

You can create new JSON files in the data directory or you can edit the existing javascript.json file. Your JSON files can reference template files if they have a .snippet extension and are in the data\snippets directory. See html5.snippet for an example.

brackets-snippets's People

Contributors

jrowny avatar cfjedimaster avatar mitsuruog avatar opensourceportfolio avatar piecioshka avatar

Stargazers

Patrick Byrne avatar

Watchers

James Cloos avatar

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.