본문 바로가기

개발/개발 기타70

[Tip of the Day] IntelliJ : Duplicate a code block or a line Duplicate a code block or a line Press Ctrl D in the editor to duplicate the selected code block, or the current line when no block is selected. 2023. 9. 20.
[Tip of the Day] IntelliJ : Code completion Code completion When using code completion, you can accept the currently highlighted selection in the popup list by pressing Tab . Unlike accepting with Enter , the selected name will overwrite the rest of the name to the right of the caret. This can be especially useful for replacing one method or variable name with another. 2023. 9. 19.
[Tip of the Day] IntelliJ : Local History Local History Local History lets you track all changes to files, classes, methods, or any code fragments and roll back to any stable point if necessary. To view local history, from the main menu, select File | Current File | Show History. 2023. 9. 1.
[Tip of the Day] IntelliJ : View recent files View recent files Press Ctrl E (View | Recent Files) to view the list of recently opened files. 2023. 8. 25.
[Tip of the Day] IntelliJ : Version Control Version Control IntelliJ IDEA provides out-of-the-box integration with the following version control systems: Git, Mercurial, Subversion, and Perforce. Version your application to collaborate on it, as well as to eliminate the risks of storing all of your codebase locally. Press Alt 9 to view the history of the changes in the project or press Ctrl K to send your local changes to the repository. 2023. 8. 24.
[Tip of the Day] IntelliJ : Extract Variable refactoring Extract Variable refactoring The Extract Variable refactoring wraps a selected expression into a variable. It adds a new variable declaration and uses the expression as an initializer. Select an expression and press Ctrl Alt V (Refactor | Extract/Introduce | Variable). 2023. 8. 16.
[Tip of the Day] IntelliJ : Local History Local History Local History lets you track all changes to files, classes, methods, or any code fragments and roll back to any stable point if necessary. To view local history, from the main menu, select File | Current File | Show History. 2023. 8. 7.
[Tip of the Day] IntelliJ : Debugger Debugger If you want to log program state during debugging, use non-suspending breakpoints. Select the expression that you want to log, hold Shift , and click the gutter at the line where the expression should be logged. In the example, sent.size() will be logged upon reaching line 24. 2023. 8. 4.
[Tip of the Day] IntelliJ : View recent files View recent files Press Ctrl E (View | Recent Files) to view the list of recently opened files. 2023. 7. 31.
[Tip of the Day] IntelliJ : Change focus in tool windows Change focus in tool windows Escape in any tool window moves the focus to the editor. Shift Escape moves the focus to the editor and hides the current or the last active tool window. F12 moves the focus from the editor to the last focused tool window. 2023. 7. 27.
[Tip of the Day] IntelliJ : Version Control Version Control IntelliJ IDEA provides out-of-the box integration with the following version control systems: Git, Mercurial, Subversion, and Perforce. Version your application to collaborate on it, as well as to eliminate the risks of storing all of your codebase locally. Press Alt 9 to view the history of the changes in the project or press Ctrl K to send your local changes to the repository. 2023. 7. 26.
[Tip of the Day] IntelliJ : Quick code documentation Quick code documentation To quickly see the documentation for a class or method at the caret, press Ctrl Q (View | Quick Documentation). 2023. 7. 21.