- Hands-On Microservices with Kotlin
- Juan Antonio Medina Iglesias
- 322字
- 2021-06-30 19:10:55
Tips and Tricks
They are several key bindings and tools that we can use to improve our products using IntelliJ, let's review some of them.
Execute an action: Shift + Ctrl + A on Windows, shift + command + a on MacOS. This will allow us to execute any action in the tool, for example, Run, View Maven projects, Save the file, and so on.
Search everywhere: Double Shift. This will have a window that allows us to search for everything, from file names to actions, and so on. The search is quite powerful, for example, if we want to open our class, ExampleService we can just type ES in capitals.
Paste from history: Shift + Ctrl + V on Windows, shift + command + v on Mac OS, it will display a window with a history on our clipboard.
Iterations and quick-fixes: Alt + Enter. This is probably the most powerful tool; many times, we can see a light bulb on the editor, using this key binding where it is will fold options for this, from removing unused imports, to simplify lines of code. Try to experiment with it.

Rename: Shift + F6. This will rename anything, from a class name to a file, or even a package, and will also change the code that was using that name; for example, if we rename a function, every call to that function will be renamed.
Refactor this: Shift + Ctrl + Alt + T on Windows, control + T on MacOS, is a really nice feature to use in any piece of code, from extracting a method to moving a class, changing parameters and functions, and many more.
- 大學計算機基礎(第二版)
- HornetQ Messaging Developer’s Guide
- Visual C++程序設計教程
- Java應用開發與實踐
- Python測試開發入門與實踐
- Learning Apache Kafka(Second Edition)
- 飛槳PaddlePaddle深度學習實戰
- Swift語言實戰精講
- Mastering Web Application Development with AngularJS
- Arduino機器人系統設計及開發
- 軟技能2:軟件開發者職業生涯指南
- React.js實戰
- C/C++程序設計教程
- MonoTouch應用開發實踐指南:使用C#和.NET開發iOS應用
- 匯編語言程序設計