美文网首页
有用的idea插件

有用的idea插件

作者: 是什么样的心情 | 来源:发表于2019-06-06 20:29 被阅读0次

本文以2017.2.7版本的idea 为例

一. LiveEdit

不需要手动刷新浏览器页面,立即在浏览器生效修改的html,css,js代码

前置条件:

  1. 安装chrome插件JetBrains IDE Support
  2. 安装idea插件LiveEdit

入门

  1. 在Setting->Build,Execution,Deployment->Debugger->Live Edit update Auto in (ms)栏目设置检测时间间隔,每隔一段该时间,idea便会检查代码是否有改动,有改动就会自动刷新浏览器,更新前端代码


    image.png
  2. 在Run/Debug Configurations -> tomcat->Server->Open browser 勾选 with JavaScript debugger 项


    image.png
  3. 浏览器出现下方提示就表示安装成功,现在修改的代码就可以实时在浏览器生效啦!


    image.png

参考资料

LiveEdit 插件官网说明

相关文章

网友评论

      本文标题:有用的idea插件

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