Skip to content
CodioJune 1, 2013< 1 min read

Snippets Released

Hot on the heels of Inline Preview comes support for Textmate style Snippets.

Snippets are a great way of reducing typing by entering shorthand code, pressing the tab key and then seeing the shorthand expand into the longhand.

For example in an HTML file ...

iframe + tab, expands

<iframe src="" frameborder="0"></iframe>

In a CSS file ...

bdi + tab, expands to

-webkit-border-image: url();
-moz-border-image: url();
-o-border-image: url();

In a JS file ...

for + tab expands to

for (var i = 0; i < Things.length; i++) {
    Things[i]
}

Find out more by reading the documentation.

avatar

Codio

Codio is the evidence-based platform for building mastery in computing education.