實現的方式可以使用添加自定義模板設置快捷鍵,然後使用快捷鍵生成,這個有點麻煩,其實有很多的是可以後綴補全的。
1. main 方法
2.打印語句
3.try…catch
4. var 聲明
5.null 判空
6.notnull 判非空
7.nn 判非空
8.for 遍歷
9.帶索引的遍歷
10類型強轉
11.if 條件
12.return語句
😆,如果想實現其他,需要自定義模板,設置快捷鍵
Intellij IDEA快速補全代碼,偷懶有度
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
【WinCE】WinCE 6.0開發環境備忘錄
sunriver2000
2020-07-08 02:38:17
centos擴展root分區大小
zerozzl01
2020-07-07 22:22:24
eclipse查看源碼:has no source attachment,you can attach the source by clicking Attach Source below:
钢琴上的代码
2020-07-04 16:52:59
Ubuntu下搭建android開發環境
Aislli
2020-07-04 10:37:29
免費開源的虛擬機軟件VirtualBox
rootcn
2020-07-03 21:50:28
apue 2e TELL_WAIT TELL_PARENT WAIT_PARENT TELL_CHILD WAIT_CHILD 實現
rootcn
2020-07-03 21:50:28
如何刪除git submodules
_Archie
2020-07-03 09:47:05
公司環境搭建(windows10)
liu_zhaoming
2020-07-03 06:42:47
MySQL壓縮版(zip)安裝教程
Melody丨视界
2020-07-03 05:56:36
Java環境變量配置 - Linux篇
Melody丨视界
2020-07-03 05:56:36
Java環境變量配置 - Windows篇
Melody丨视界
2020-07-03 05:56:36
[Mendix]CE1568The selected page xxx expects an object of type of xxx which is not available
Aeriala
2020-07-03 02:46:13
日誌輸出及文檔保存--logger
Bear_Kai
2020-07-02 15:50:33
24小時熱門文章