List of JavaScript live templates
This table summarizes the live templates that you can use with your JavaScript code.
Abbreviation | Description | Template text |
---|---|---|
| Surround with Arrow Function |
|
| console.assert() |
|
| Inserts define() expression |
|
| console.error() |
|
| Export statement - export * from 'a' |
|
| Export statement - export {b} from 'a' |
|
| Export statement - export {b} |
|
| Inserts @flow annotation |
|
| Create iteration loop |
|
| Iterate (for..in) |
|
| Iterate (for..of) |
|
| Import statement - import b from 'a' |
|
| Import statement - import {b} from 'a' |
|
| Import statement - import * as b from 'a' |
|
| console.info() |
|
| Iterate elements of array |
|
| Iterate (for..of) |
|
| Iterate (for await..of) |
|
| Iterate (for..in) |
|
| console.log() |
|
| Export statement - module.exports |
|
| Inserts reference path comment |
|
| Iterate elements of array in reverse order |
|
| console.trace() |
|
| Inserts 'use strict' statement |
|
| console.warn() |
|
Thanks for your feedback!