VScode 快速输入ES6箭头函数、快速补全插件

    为了开发效率,我们需要快速补全片段。
    这次介绍的插件名称:VS Code JavaScript (ES6) snippets

    简单介绍:
    快速输入、补全:
    安装插件之后,在.js .vue 文件里面,输入 an 然后按下 tab,就能输入 ES6 箭头函数了!
    anfn→creates an anonymous function (params) => {}
    sti→ set interval helper method setInterval(() => {});
    sto→set timeout helper method setTimeout(() => {});
    实测在 vue js 的 .vue 文件也能正常补全。感觉很赞。

    其实这些 sublime text 3 也有插件实现了。
    这个插件还能快速补全 import 导入模块功能:
    imp→imports entire module import fs from 'fs';
    imn→imports entire module without module name import 'animate.css'
    imd→imports only a portion of the module using destructing import {rename} from 'fs';