# 善用手上的屠龍刀!IntelliJ IDEA 的生產力技巧 - 范聖佑 {%hackmd WDaotZ6JSn6UdPEhrgLeyw %} Why IDE Introduce useful hotkeys * Recent Files (Ctrl+E) → Show changed only (Ctrl+E) * Recent Locations (Ctrl+Shift+E) → Show changed only (Ctrl+Shift+E) * F2 to jump to error * Smart completion >>> Auto completion UI customization * Themes are available in Plugin. * Nyan Progress Bar Plugin to see the cat * Rainbow Brackets Plugin Templates Partial git commit is supported. http://intellij.tips/ for Chinese materials * IntelliJ 2019 第三版: 效能大增 ## IntelliJ Platform * IntelliJ是一個open source出來的框架 * Pluggable Platform * 衍伸出一系列的23個產品 (e.g. PyCharm, PhpStorm, Android Studio) * 外掛生態系 * 版本 * Ultimate * Community: 寫寫java source/lib,拔掉DB * EAP: Early access program (每兩週會發行一次,使用者回報和回饋) * 可以用 `toolbox` 來安裝各種衍伸產品,而且還可以裝多版本 * 可以把所有各種project收集起來,然後點開project也把對應好的IDE找到 * [JetBrains IDE Support Chrome Extension](https://chrome.google.com/webstore/detail/jetbrains-ide-support/hmhgeddbohgjknpmjagkdomcpobmllji):快速git clone到intelliJ project * 跳槽到IntelliJ * preferences > keymap ## Tips and Tricks * [Tips and Tricks網站 intellij.tips](https://intellij.tips) * 所有技巧都在這家網站 ### Docker and Database * IntelliJ IDE (except WebStorm IDE) 都有內建 DataGrip * more like mysql workbench  ### UI 客製化 * 在Edeitor中 可以客製自己的color scheme * 在plugin中 也有別人做好的UI 可以套用例如: Nyan progress bar * plugin 搜尋 `tag: theme` ### Plugins 推薦 * Key Promoter X * Presentation Asistant * Nyan Progress Bar * Rainbow Brackets ### VCS * VCS快速鍵: `cmd + k` (commit), `cmd + shift + k` (push) * commit 可幫忙做optimise import, reformat code, rearrange code. * 沒push之前,可以改commit message ### 快速鍵 * F2: 跳到下一個error處 * cmd + shift + enter: auto format code * cmd + shift + t: 去檔案的unit test * cmd + E: recent file ### Debug mode * 在中斷點上可以加condition 來debug ### CityTeam * IntelliJ無縫接軌的CI/CD ### Scratch * A file as a playground supports SQL, java, shell script #### Example Open a scratch.http ``` GET https://httpbin.org/get POST https://httpbin.org/post Content-Type: application/json Accept: application/json { "name": "Shengyou Fan", "email": "shenguou@jetbrains.com" } ``` and play ###### tags: `jcconf`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up