idea-ide
发布日期:2021-06-29 12:07:01 浏览次数:5 分类:技术文章

本文共 1930 字,大约阅读时间需要 6 分钟。

https://www.jetbrains.com/help/idea/discover-intellij-idea.html

快捷键

Shortcut Action
Double Shift Quickly find any file, action, symbol, tool window, or setting in IntelliJ IDEA, in your project, and in the current Git repository.
在 IntelliJ IDEA、您的项目和当前 Git 存储库中快速查找任何文件、操作、符号、工具窗口或设置。
Ctrl+Shift+A Find a command and execute it, open a tool window, or search for a setting.
查找命令并执行它、打开工具窗口或搜索设置。
Alt+Enter Quick-fixes for highlighted errors and warnings, intention actions for improving and optimizing your code.
快速修复突出显示的错误和警告,改进和优化代码的意图操作。
F2 ||Shift+F2 Jump to the next or previous highlighted error.
跳转到下一个或上一个突出显示的错误。
Ctrl+E Select a recently opened file from the list.
从列表中选择最近打开的文件。
Ctrl+Shift+Enter Insert any necessary trailing symbols and put the caret where you can start typing the next statement.
插入任何必要的尾随符号并将插入符号放在您可以开始输入下一条语句的位置。
Ctrl+Alt+L Reformat the whole file or the selected fragment according to the current code style settings.
根据当前的代码样式设置重新格式化整个文件或选定的片段。
Ctrl+Alt+Shift+T Refactor the element under the caret, for example, safe delete, copy, move, rename, and so on.
重构插入符号下的元素,例如安全删除、复制、移动、重命名等。
Ctrl+W Ctrl+Shift+W Increase or decrease the scope of selection according to specific code constructs.
根据特定的代码结构增加或减少选择范围。
Ctrl+/ Ctrl+Shift+/ Comment out a line or block of code.
添加/删除行或块注释||注释掉一行或一段代码。
Ctrl+B Navigate to the initial declaration of the instantiated class, called method, or field.
导航到实例化类、调用方法或字段的初始声明。
Escape Focus the editor
1. psvm	创建main函数2. Ctrl + 空格 快捷键其实是与我们电脑上的输入法快捷键冲突3. fori	生成i变量的for循环4. sout	System.out.println()5. ctrl + d	复制当前行,并粘贴到下一行6. ctrl + /	注释或取消单行注释7. ctrl + shift + /	选中要注释或取消注释的区域后使用多行注释8. ctrl + p	方法参数提示9. shift + F6	改名,类名,变量名,包名,方法名等等 ******10. ctrl + y	删除行11. shift + enter	光标从当前位置往下创建一行,并移到下一行起始处12. alt + shift + 上下键	移动当前代码行

设置

1. 字体2. 背景3. 文件编码4. 设置智能提示忽略大小写:File -> Settings ->Editor -> General -> Code Completion,将Case sensitive completion设置为None。5. 显示方法分隔符

转载地址:https://blog.csdn.net/z_202041/article/details/117914124 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:pycharm
下一篇:software

发表评论

最新留言

表示我来过!
[***.240.166.169]2024年04月11日 03时06分10秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章