Need help with brackets-snippets?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jrowny
132 Stars 44 Forks Other 88 Commits 27 Opened issues

Description

A brackets snippets extension

Services available

!
?

Need anything else?

Contributors list

# 55,711
PHP
Shell
React
reactjs...
32 commits
# 19,271
HTML
unified
Electro...
Windows
15 commits
# 19,881
Scala
apache
cpluspl...
helpers
4 commits
# 397,738
CSS
lab
HTML
guides
2 commits
# 64,503
HTML
Ruby
autosug...
Zsh
1 commit
# 1,391
JavaScr...
TypeScr...
React
redux-o...
1 commit

brackets-snippets

Brackets Snippets extension.

Extension is available in the Brackets extension registry.

To install, go to the Brackets Extension Manager and search for

brackets snippets
.

Usage

Icon on the right toolbar shows you what snippets are available. Click any snippet to begin inserting.
Ctrl-Alt-Space to insert the snippet. (Cmd-Alt-Space 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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.