idea備忘

1.idea 最近打開的文件個數 javascript

File->Settings->Editor->General->Editor Tabs->Tab Closing Policy->Tab limithtml

參考:https://www.cnblogs.com/yzhch/archive/2017/04/19/6734209.html
--------------------------------------------------------------------------------------------------------------------------------------------------------------------java

2.idea Serializablegit

File->Setting>Editor>Inspection>Java>Serialization issue->Serializable class without 'serialVersion' 打勾maven

參考:https://blog.csdn.net/humingtao1108/article/details/78922853
--------------------------------------------------------------------------------------------------------------------------------------------------------------------ide

3.idea 轉換 mavenfetch

工程右鍵->Add Framework Support->Mavenui

參考:http://www.javashuo.com/article/p-zgnhnxeq-bg.html--------------------------------------------------------------------------------------------------------------------------------------------------------------------idea

4.idea unregistered vcs root detected ideaspa

File->Settings->Version Control 選中unregister的名稱,點右上角+號

參考:https://blog.csdn.net/sanyuedexuanlv/article/details/78509721

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

 5.idea 右鍵->Diagrams菜單沒有

File->Settings->Plugins搜uml => UML Support

參考:

IDEA UML類圖插件 https://www.cnblogs.com/winner-0715/p/6100983.html

使用IntelliJ IDEA查看類的繼承關係圖形 http://www.javashuo.com/article/p-naumnayg-z.html

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

6.idea 重複代碼波浪線

File->Settings->Inspections->General->Duplicated Code

參考:http://www.javashuo.com/article/p-qedlskap-ca.html

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

7.idea js驗證

File>Settings>Lauguages & Frameworks>JavaScript

javascript languages version修改成ECMAScript 6

參考:http://www.javashuo.com/article/p-gkporrbp-eu.html

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

8.錯誤: 找不到或沒法加載主類 @{argLine} 

File->Settings->Build->Maven->Running Tests: argLines勾去掉

參考:https://blog.csdn.net/q514004204/article/details/79059522

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

9.IDEA  Ctrl+Alt+O import *

File->Settings->Editor>Code Style>Java>Scheme Default>Imports

將Class count to use import with "*"改成99(導入同一個包的類超過這個數值自動變爲 * )
將Names count to use static import with "*"改成99(同上,但這是靜態導入的)
將Package to Use import with "*"刪掉默認的這兩個包(無論使用多少個類,只要在這個列表裏都會變爲 * )

參考:http://www.javashuo.com/article/p-xrvcvckp-dm.html

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

10.IDEA  git fetch

右擊項目->Git->Repository->Fetch

參考:http://www.javashuo.com/article/p-kewuhymv-u.html

==============================================================================================

IDEA 好用的插件 http://www.javashuo.com/article/p-xihhrrcf-w.html
如何使用IntelliJ IDEA的Favorites來管理項目中的經常使用代碼 https://www.cnblogs.com/deng-cc/p/6530279.html
從Eclipse到IDEA,金字塔到太空堡壘 https://my.oschina.net/lizaizhong/blog/2051414

相關文章
相關標籤/搜索