idea 常用整理

1,配置maven本地倉庫

在這裏插入圖片描述
2,Services (之前版本是 Run Dashboard)
在這裏插入圖片描述
在這裏插入圖片描述
3,Version Control
在這裏插入圖片描述
4,maven打包
在這裏插入圖片描述
5,springboot 熱部署

頂部菜單- >Edit Configurations->SpringBoot插件->目標項目->勾選熱更新。
在這裏插入圖片描述
在這裏插入圖片描述
參考鏈接:
https://www.jianshu.com/p/f658fed35786

6,常用功能快捷鍵

6.1,搜索

全局搜索 shift + shift
按類名搜索 ctrl + N
按文件搜索 ctrl + shift + N

6.2,類相關

查看類的繼承關係 ctrl + H
查看類的屬性方法 alt + 7
查看方法調用情況 alt + F7
跳到上/下一個方法 alt + ↑/↓

6.3,調試debug

一行一行執行 F8
眺到下個斷點 F9

6.4,常用快捷鍵

ctrl + Y / X 刪除某一行
ctrl + shift + ↑ / ↓ 上下移動
alt + insert 自動生成get/set方法
ctrl + D 複製當前選中的代碼
ctrl + shift + U 所選擇的內容進行大小寫轉換
ctrl + alt + ↑ / ↓ 返回上一步
alt + Enter 自動導包
ctrl + / 單行註釋
ctrl + shift + / 多行註釋

參考鏈接:
https://www.jianshu.com/p/ce91cea16c60
https://zhuanlan.zhihu.com/p/61690346

7,放大

雙擊紅框處
在這裏插入圖片描述
8,常用插件
Lombok
EasyCode
Mybatis Log Plugin
設置日誌級別爲DEBUG,輸出級別爲package
在這裏插入圖片描述

參考鏈接:
https://blog.csdn.net/weixin_41846320/article/details/82697818
https://blog.csdn.net/qq_35389417/article/details/99592710
https://www.jianshu.com/p/1fa12b92d5c4

9,顯示美化

9.1,JetBrains Mono 字體安裝

參考鏈接:
https://blog.csdn.net/weixin_41846320/article/details/104058969
https://blog.csdn.net/ifmylove2011/article/details/101166529

9.2,代碼顏色設置

代碼顏色主題:Sublime Text 3

第一步,導入主題jar包
在這裏插入圖片描述
第二步,設置主題
在這裏插入圖片描述
參考鏈接:
https://www.cnblogs.com/linliquan/p/10740785.html

9.3,Background Image Plus 設置背景圖

9.4,Grep Console 設置不同級別log的字體顏色和背景色

10,idea 設置導出(換版本時用)
在這裏插入圖片描述
11,代碼分析工具
在這裏插入圖片描述
在這裏插入圖片描述
參考鏈接:
https://blog.csdn.net/richyliu44/article/details/104654795

12,國際化 xxx.properties 文件,中文顯示設置
在這裏插入圖片描述
13,idea 自動檢查更新
在這裏插入圖片描述
14,項目包層次結構設置
在這裏插入圖片描述
15,安全檢查

Could not autowire. No b…?
在這裏插入圖片描述
參考鏈接:
https://jingyan.baidu.com/article/ff42efa9d8bafbc19e2202b1.html

16,文件顏色,版本控制

16.1,文件顏色

綠色,已經加入控制暫未提交
紅色,未加入版本控制
藍色,加入,已提交,有改動
白色,加入,已提交,無改動
灰色:版本控制已忽略文件

參考鏈接:
https://blog.csdn.net/liang526011569/article/details/77359973/

16.2,查詢遠程倉庫 git 地址
在這裏插入圖片描述
16.3,查看版本歷史提交記錄
在這裏插入圖片描述
17,類和方法註釋模板配置
在這裏插入圖片描述
18,cannot access class

idea 緩存問題
在這裏插入圖片描述
參考鏈接:
https://www.cnblogs.com/wanghongsen/p/12574807.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章