欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

Idea的快捷鍵及環(huán)境配置

這篇文章主要講解了“Idea的快捷鍵及環(huán)境配置”,文中的講解內(nèi)容簡(jiǎn)單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著小編的思路慢慢深入,一起來(lái)研究和學(xué)習(xí)“Idea的快捷鍵及環(huán)境配置”吧!

10年積累的成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計(jì)經(jīng)驗(yàn),可以快速應(yīng)對(duì)客戶對(duì)網(wǎng)站的新想法和需求。提供各種問(wèn)題對(duì)應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識(shí)你,你也不認(rèn)識(shí)我。但先網(wǎng)站制作后付款的網(wǎng)站建設(shè)流程,更有吳興免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。

快捷鍵

雙擊shift  查找文件

ctrl + shift + f 查找全局

ctrl + e 最近修改的文件

ctrl + shift + v 打開(kāi)剪貼板

ctrl + alt + h 

ctrl + alt + m 抽取方法

ctrl + d 復(fù)制當(dāng)前行到下一行

shit + enter 另起一行

alt + shift + x 關(guān)閉所有標(biāo)簽頁(yè)

ctrl + shift + c 打開(kāi)剪貼板

Ctrl+Alt+L 格式化代碼

intellij idea 替換字符串功能有2個(gè)快捷鍵

ctrl+r

ctrl+shift+r

分別是替換本頁(yè)內(nèi)容和在多個(gè)文件中替換內(nèi)容

shift + F6 重命名文件名、變量名

ctrl + p 參數(shù)提示

alt + /

配置文件idea64.exe.vmoptions
-Xms128m, 16 G 內(nèi)存的機(jī)器可嘗試設(shè)置為 -Xms512m
(設(shè)置初始的內(nèi)存數(shù),增加該值可以提高 Java 程序的啟動(dòng)速度。 )
-Xmx750m, 16 G 內(nèi)存的機(jī)器可嘗試設(shè)置為 -Xmx1500m
(設(shè)置最大內(nèi)存數(shù),提高該值,可以減少內(nèi)存 Garage 收集的頻率,提高程序性能)
-XX:ReservedCodeCacheSize=240m, 16G 內(nèi)存的機(jī)器可嘗試設(shè)置為-XX:ReservedCodeCacheSize=500m
(保留代碼占用的內(nèi)存容量)

取消更新
Idea的快捷鍵及環(huán)境配置

鼠標(biāo)滾輪改變字體大小

Idea的快捷鍵及環(huán)境配置

導(dǎo)包 alt + enter
Idea的快捷鍵及環(huán)境配置

add unambiguous imports on the fly 動(dòng)態(tài)添加明確的導(dǎo)入

方法間分隔符
Idea的快捷鍵及環(huán)境配置

提示忽略大小寫
Idea的快捷鍵及環(huán)境配置

多行顯示編輯頁(yè)簽
Idea的快捷鍵及環(huán)境配置

字體
Idea的快捷鍵及環(huán)境配置

編輯區(qū)字體和控制臺(tái)字體
Idea的快捷鍵及環(huán)境配置

注釋字體
Idea的快捷鍵及環(huán)境配置

Doc Comment Text 修改文檔注釋的 字體 顏色
Block comment 修改多行注釋的字體顏色
Line comment 修改當(dāng)行注釋的字體顏色

多個(gè)導(dǎo)入包用*替換
Idea的快捷鍵及環(huán)境配置

類頭的文檔注釋信息
Idea的快捷鍵及環(huán)境配置

常用的預(yù)設(shè)的變量

${PACKAGE_NAME}
the name of the target package where the new cla ss or interface will be created.
${PROJECT_NAME}
the name of the current project.
${FILE_NAME}
the name of the PHP file that will be created.
${NAME}
the name of the new file which you specify in the New File dialog box during the file creation.
${USER}
the login name of the current user.
${DATE}
the current system date.
${TIME}
the current system time.
${YEAR}
the current year.
${MONTH}
the current month.
${DAY}
the current day of the month.
${HOUR}
the current hour.
${MINUTE
} the current minute.
${PRODUCT_NAME}
the name of the IDE in which the file will be created.
${MONTH_NAME_SHORT}
the first 3 letters of the month name. Example: Jan, Feb, etc.
${MONTH_NAME_FULL}
full name of a month. Example: January, February, etc.
/**
* @author Xxx
* @date ${DATE} ${TIME}
* @create ${YEAR}-${MONTH}-${DAY} ${TIME}
*@Date: ${DATE} ${TIME}
*/

@version 創(chuàng)建時(shí)間:${date} ${time}

/**
* @author
*@creator Xxx
* @date ${YEAR}-${MONTH}-${DAY} ${TIME}
*/

編碼
Idea的快捷鍵及環(huán)境配置

Transparent native to ascii conversion 主要用于轉(zhuǎn)換 ascii ,一般都要勾選,不然 Properties 文件中的注釋顯示的都不會(huì)是中文。

自動(dòng)編譯
Idea的快捷鍵及環(huán)境配置

compile independent modules in parallel 并行編譯獨(dú)立模塊
 

如果沒(méi)有代碼提示,則去掉勾選省電模式Power Save Mode
IntelliJ IDEA 有一種叫做 省電模式 的狀態(tài),開(kāi)啟這種模式之后,IntelliJ IDEA 會(huì)關(guān)掉代碼檢查和代碼提示等功能。所以一般也 可 認(rèn)為這是一種 閱
讀模式 ,如果你在開(kāi)發(fā)過(guò)程中遇到突然代碼文件不能進(jìn)行檢查和提示 可以來(lái)看看這里是否有開(kāi)啟該功能。
 

注解方式Servlet模版:
Idea的快捷鍵及環(huán)境配置

Idea的快捷鍵及環(huán)境配置

Idea的快捷鍵及環(huán)境配置

Idea的快捷鍵及環(huán)境配置

模板Templates
Editor Live Templates 和 Editor General Postfix Completion
二者的區(qū)別:Live Templates 可以自定義,而 Postfix Completion 不可以。同時(shí),有些操作二者都提供了模板,Postfix Templates 較 Live Templates 能快 0.01 秒

舉例: 
1. psvm : 可生成 main 方法 
2. sout : System.out.println() 快捷輸出 
類似的: 
soutp=System.out.println(“方法形參名 = ” + 形參名); 
soutv=System.out.println(“變量名 = ” + 變量); 
soutm=System.out.println(“當(dāng)前類名.當(dāng)前方法”); “abc”.sout => 
System.out.println(“abc”); 
3. fori : 可生成 for 循環(huán) 
類似的: 
iter:可生成增強(qiáng) for 循環(huán) itar:可生成普通 for 循環(huán) 
4. list.for : 可生成集合 list 的 for 循環(huán) 
List list = new ArrayList(); 
輸入: list.for 即可輸出 
for(String s:list){ 

又如:list.fori 或 list.forr 
5. ifn:可生成 if(xxx = null) 
類似的: 
inn:可生成 if(xxx != null) 或 xxx.nn 或 xxx.null 
6. prsf:可生成 private static final 
類似的: 
psf:可生成 public static final 
psfi:可生成 public static final int 
psfs:可生成 public static final String

修改模版
Idea的快捷鍵及環(huán)境配置
Idea的快捷鍵及環(huán)境配置
Idea的快捷鍵及環(huán)境配置
 

tomcat
Idea的快捷鍵及環(huán)境配置

Idea的快捷鍵及環(huán)境配置
 

從中央倉(cāng)庫(kù)安裝gsonformat
Idea的快捷鍵及環(huán)境配置


debug
Idea的快捷鍵及環(huán)境配置

Idea的快捷鍵及環(huán)境配置

清除緩存
Idea的快捷鍵及環(huán)境配置
自動(dòng)更新檢查
Idea的快捷鍵及環(huán)境配置

感謝各位的閱讀,以上就是“Idea的快捷鍵及環(huán)境配置”的內(nèi)容了,經(jīng)過(guò)本文的學(xué)習(xí)后,相信大家對(duì)Idea的快捷鍵及環(huán)境配置這一問(wèn)題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!

分享標(biāo)題:Idea的快捷鍵及環(huán)境配置
分享路徑:http://www.chinadenli.net/article22/jcojcc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)網(wǎng)站建設(shè)網(wǎng)站收錄用戶體驗(yàn)動(dòng)態(tài)網(wǎng)站網(wǎng)站改版標(biāo)簽優(yōu)化

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)