美文网首页程序员
webstorm的使用技巧

webstorm的使用技巧

作者: Young_Kind | 来源:发表于2018-07-05 11:22 被阅读39次
  • 开发vue项目时候快速新建一个vue文件
    file--seting--Editor--File and Templates--点击绿色+号--后面就输入自己的文件模板
<template>
      <div>
      </div>
</template>
<script>
export default {
  name: '',
  data() {
    return {
    };
  }
};
</script>
<style scoped lang="less">
</style >
  • 快速输出一句console.log()
    file--seting--Editor--live Templates,找到右边的JavaScript,点击右边的绿色“+”号,即可自己设置相关的快捷单词

    console.log($PARAM$);
  • 解决window上看webstorm的字体不清晰
    效果如下图:

    image.png
    解决方式:安装MacType

相关文章

网友评论

    本文标题:webstorm的使用技巧

    本文链接:https://www.haomeiwen.com/subject/lonuuftx.html