Development

Intellij에서 자주 사용되는 단축키.

sonpro 2023. 3. 14. 22:10
반응형

Frequently

Frequently used shortcuts in IntelliJ

IntelliJ IDEA is a popular integrated development environment (IDE) used by developers to write code in various programming languages. It is a powerful tool that can help you write code more efficiently and effectively. One of the ways to increase your productivity in IntelliJ IDEA is to use keyboard shortcuts. In this blog post, we will discuss some of the frequently used shortcuts in IntelliJ IDEA.

Summary

IntelliJ IDEA is a powerful tool that can help you write code more efficiently and effectively. One of the ways to increase your productivity in IntelliJ IDEA is to use keyboard shortcuts. In this blog post, we will discuss some of the frequently used shortcuts in IntelliJ IDEA.

Navigation Shortcuts

Navigation shortcuts are used to quickly move around the codebase. Here are some of the most commonly used navigation shortcuts:

  • Ctrl + N: Open class
  • Ctrl + Shift + N: Open file
  • Ctrl + Alt + Shift + N: Open symbol
  • Ctrl + E: Recent files
  • Ctrl + Shift + E: Recent locations
  • Ctrl + B: Go to declaration
  • Ctrl + Alt + B: Go to implementation
  • Ctrl + Shift + I: Quick definition lookup
  • Ctrl + Shift + T: Go to test
  • Ctrl + Shift + U: Go to super method

Editing Shortcuts

Editing shortcuts are used to quickly edit code. Here are some of the most commonly used editing shortcuts:

  • Ctrl + D: Duplicate line or selection
  • Ctrl + Y: Delete line
  • Ctrl + X: Cut line or selection
  • Ctrl + Shift + V: Paste from history
  • Ctrl + Shift + J: Join lines
  • Ctrl + Shift + U: Toggle case
  • Ctrl + Shift + ]: Select to code block end
  • Ctrl + Shift + [: Select to code block start
  • Ctrl + Alt + T: Surround with

Refactoring Shortcuts

Refactoring shortcuts are used to quickly refactor code. Here are some of the most commonly used refactoring shortcuts:

  • Ctrl + Alt + V: Extract variable
  • Ctrl + Alt + F: Extract field
  • Ctrl + Alt + M: Extract method
  • Ctrl + Alt + C: Extract constant
  • Ctrl + Alt + P: Extract parameter
  • Ctrl + Shift + R: Rename
  • Ctrl + Alt + Shift + T: Refactor this

Debugging Shortcuts

Debugging shortcuts are used to quickly debug code. Here are some of the most commonly used debugging shortcuts:

  • Ctrl + Shift + F9: Debug
  • Ctrl + Shift + F8: Step over
  • Ctrl + Shift + F7: Step into
  • Ctrl + Alt + F9: Run to cursor
  • Ctrl + Alt + F8: Evaluate expression
  • Ctrl + F8: Toggle breakpoint

Conclusion

IntelliJ IDEA is a powerful tool that can help you write code more efficiently and effectively. By using keyboard shortcuts, you can increase your productivity and save time. In this blog post, we discussed some of the frequently used shortcuts in IntelliJ IDEA for navigation, editing, refactoring, and debugging. We hope that this article will help you become more productive in IntelliJ IDEA.

반응형