idea-ide
发布日期:2021-06-29 12:07:01
浏览次数:4
分类:技术文章
本文共 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 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
能坚持,总会有不一样的收获!
[***.219.124.196]2024年04月04日 18时05分01秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
火爆知乎的Android面试题-Android-App的设计架构经验谈,大厂内部资料
2019-04-29
看完直接怼产品经理!Android多进程从头讲到尾,跳槽薪资翻倍
2019-04-29
快速从入门到精通!面试的时候突然遇到答不上的问题怎么办?已拿到offer
2019-04-29
Android开发知识体系!腾讯+字节+阿里面经真题汇总,成功入职阿里
2019-04-29
android开发语言!大厂经典高频面试题体系化集合,移动架构师成长路线
2019-04-29
typescript学习(进阶)
2019-04-29
三天敲一个前后端分离的员工管理系统
2019-04-29
axios请求携带cookie实现跨域(后端springsecurity)
2019-04-29
spring data rest 不隐藏主键id
2019-04-29
后端传来json数据,vue前端如何渲染??
2019-04-29
vue 增删改数据实时更新
2019-04-29
手敲一个前后端分离项目——成果演示
2019-04-29
Linux——基础命令篇
2019-04-29
-jsp-
2019-04-29
EL表达式、JSTL标签库、文件上传和下载
2019-04-29
Cookie、Session
2019-04-29
表单重复提交
2019-04-29
Filter
2019-04-29
BAT大厂最爱问的Android核心面试百题详细解析!真香
2019-04-29