# idea-usage **Repository Path**: yekongle/idea-usage ## Basic Information - **Project Name**: idea-usage - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-09 - **Last Updated**: 2021-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### IDEA 快速跳转视图 command + 1 > Project command + 2 > Favorites command + 4 > Run command + 6 > Problems command + 7 > Structure command + 8 > Services ### 高效定位代码 #### 项目之间的跳转 快速跳转项目窗口 option + command + ` > Next project window option + comand + shift + ` > Previous project window #### 文件之间的跳转 command + e > recent files #### 浏览修改位置跳转 上次修改跳转: shift + command + delete > Last edit location 上次浏览位置跳转 option + command + <- 下次浏览位置跳转 option + command + -> #### 利用书签跳转 option + F3 > 打开数字盘,标记数字标签 command + F3 > 列出所有 bookmarks control + 1 > 跳到书签1 control + 2 > 跳到书签2 shift +control + 1/2/3 > 标记书签1/2/3 #### 收藏位置及文件 #### 字符跳转插件 emacsIdea #### 编辑区和文件区来回跳转 command + 1 > 文件区 esc > 代码区 ### 精准搜索 #### 类 command + o > 查找类, 按两次可以搜索 jar 包里面的类 #### 文件 shift + command + o #### 符号(包括函数和属性) option + command + o #### 字符串搜索 command + F, 查找字符串 command + R,查找并替换字符串 shift + command + F, 在文件里搜索 ### 代码小助手 #### 列操作 #### Live template - main 函数 - psfi > public static final int - psfs > public static final String #### postfix 100.fori name.field #### option + enter 1. 自动创建函数 2. list replace 3. 字符串 format 或者 build 4. 实现接口 5. 单词拼写 6. 导包 ### 编写高质量代码 #### 重构 ##### 重构变量 shift + F6, 重构函数变量 command + F6, 重构函数 ### 调试 F8 单步执行 F9 调到下一个断点 shift + command + F8 查看所有断点/条件断点 mule breakpoints > 禁止所有断点 run to cursor > 运行到指定行