IDEA使用总结

作者: vincent201819 | 来源:发表于2019-01-10 23:19 被阅读111次

1.隐藏.idea目录和iml文件:IDE Settings-File Types-Ignore files and folders-添加.idea;*.iml;

2.热部署方案1

①Settings->搜索compiler->勾选Build project automatically

②按ctrl+Shift+A 查找registry命令回车,在弹出面板中搜索automake,找到compiler.automake.allow.when.app.running并勾选

③添加spring boot Dev Tools支持

    <dependencies>

        <!--热部署-->

        <dependency>

            <groupId>org.springframework.boot</groupId>

            <artifactId>spring-boot-devtools</artifactId>

            <!-- optional=true,依赖不会传递,该项目依赖devtools;之后依赖myboot项目的项目如果想要使用devtools,需要重新引入 -->

            <optional>true</optional>

        </dependency>

        <!---热部署end-->

    </dependencies>

④chrome禁用缓存:Network->Disable cache

3.热部署方案2

①.安装Jrebel 插件:settings->plugins->jrebel for interlij

②.打开Jrebel Panel,勾选需要的模块:点击左侧Jrebel

③.修改后按Ctrl + Shift + F9 重新编译

jrebel激活服务器:http://jrebel.autoseasy.cn/b136b623/b136b653-31f0-44ca-bbef-2eb5e58daf2b

                  http://139.199.89.239:1008/88414687-3b91-4286-89ba-2dc813b107ce

                  如果失效,重新生成url后面的guid即可

4.IntelliJ IDEA下"Cannot resolve symbol 'log'

①.用快捷键Ctrl+Alt+S打开:Settings→Plugins→Browse repositories

②.输入lombok后选择Install,安装插件

相关文章

  • Idea重构

    Intellij idea使用教程与心得 Intellij idea的调试总结 Idea重构 IDEA模板与对比

  • IDEA使用总结

    IDEA常用设置 在我们第一眼看见IDEA是这个样子的: 显示工具条 我们要显示工具条!,两个按钮哦 黑色主体 我...

  • IDEA使用总结

    IDEA简介 借用百度百科的: IDEA 全称IntelliJ IDEA,是Java语言开发的集成环境,Intel...

  • IDEA使用总结

    1. IDEA内存优化 先看看你机器本身的配置而配置. \IntelliJ IDEA 8\bin\idea.exe...

  • IDEA使用总结

    1.隐藏.idea目录和iml文件:IDE Settings-File Types-Ignore files an...

  • idea使用问题总结

    0.java等文件编译问题如: org.apache.ibatis.binding.BindingExceptio...

  • idea使用总结笔记

    1. idea快捷键使用 2. 创建项目以及tomcat部署 3. 代码模板以及自定义代码模板 4. 远程调式 ...

  • IntelliJ IDEA使用总结

    一、新建Java程序1、创建新的项目File -> New -> Project2、安装JDK3、指定项目名称和位...

  • Intellij IDEA使用总结

    最近学Java用到这款IDE,总结一下备忘 常用快捷键 查询快捷键 自动代码 编辑快捷键 常用配置 设置JDK 显...

  • idea 使用问题总结

    一.问题 Module ** must not contain source root **. The root ...

网友评论

    本文标题:IDEA使用总结

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