IntelliJ IDEA Productivity Tips

People unfamiliar with IntelliJ IDEA keep always asking me, why it’s better than other products. Today we have decided to make a short overview of some very basic features, that let developers be more productive every day.

In this episode we will show you some of the basic shortcuts for test-driven development. The video comes with transcription in subtitles. Check it out. See if you know and use all these basic features.

width="640" height="480" src="http://www.youtube.com/embed/XM-wD2vKwtA" frameborder="0" allowfullscreen="" style="border-width: 0px; margin: 0px; padding: 0px; vertical-align: baseline; background: transparent;">

To make it even easier, we’ve posted the transcription below:

  1. Use ^N (Alt + Insert) everywhere to create folders, classes or generate getters, test methods, etc.
  2. Use ⇧⌘F12 (Ctrl + Shift + F12) to expand the editor and hide tool windows.
  3. Always use ⇧⌘⏎ (Ctrl + Shift + Enter) to complete statement.
  4. Press ⌘, (Ctrl + Alt + S) to open settings quickly.
  5. Use default live templates or create custom ones. Use  to complete live template.
  6. Use ⌥⏎ (Alt + Enter) for a quick-fix.
  7. Use ⌥^L (Ctrl + Alt + L) to format code. IntelliJ IDEA has advanced formatter and smart code arranger options for all supported languages and frameworks.
  8. Use ⇧⌘T (Shift + Ctrl + T) to create or navigate to the test for current class. This is a time-saver when you adopt test-driven development.
  9. Use ⌥⌘V (Ctrl + Alt + V) to introduce a variable quickly. No need in selection. IntelliJ IDEA is smart enough to guess what you want at the moment.
  10. Use code completion twice to get more results. This includes completion of static methods without typing class name (and not only).
  11. Use ⌥⌘C (Ctrl + Alt + C) to introduce a constant quickly. IntelliJ IDEA will find and replace all code duplicates if you use ⌥A.
  12. Use ⇧^F10 (Ctrl + Shift + F10) to run code at the caret.
  13. Use ⌥⌘← (Alt + Left) and ⌥⌘→ (Alt + Right) to navigate between open tabs.
  14. Jump to float navigation bar with ⌘↖ (Alt + Home). This is the most convinient way to navigate between packages. It supports other shortcuts like create class, folder, etc.
  15. Use ⇧F10 (Shift + F10) to run the active run configuration.
  16. Use ⌘E (Ctrl + E) for navigation between recent files. It supports speed search. Just start typing file or tool window you need and it will filter the results.
  17. Use ⌘1 (Alt + 1) to show or hide the project view.

We hope you enjoyed it and will be publishing more videos with tips and tricks.

- See more at: http://blog.jetbrains.com/idea/2012/10/intellij-idea-productivity-tips-part-1/#sthash.LNwthD7p.dpuf
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值