关于软件IntelliJ IDEA的使用技巧(二)

二,IntelliJ IDEA的工具栏介绍

2,IntelliJ IDEA菜单栏

(5)code编码

 ✌1.Override Methods:覆盖方法

✌2.Implement Methods:实现方法

✌3.Delegate Methods:委托方法

✌4.Generate:行成,发生

✌5.Surround With:包围,围住

✌6.UNwrap/Remove:打开/删除

✌7.Completion:实现

✌8.Folding:折叠

✌9.Insert Live Template:插入生活模板

✌10.Surround with Live Template:生活模板环绕

✌11.Comment with Line Comment:带有行注释的注释

✌12.Comment with Block Comment:带有块注释的注释

✌13.Reformation Code:改革的代码

✌14.Show Reformat  File Dialog:显示重新格式化文件对话框

✌15.Auto-Indent Lines:自动缩进线

✌16.Optimize Imports:优化进口

✌17.Rearrange Code:重新整理代码

✌18.Move Statement Down:声明中向下移动

✌19.Move  Statement Up :生命中向上移动

✌20.Move Element  Left :移动元素左

✌21.Move Element Right:移动元素右

✌22.Move Line Down:线向下移动

✌23.Move Line  Up:线向上移动

✌24.Generate Module-info Descriptors:生成模块信息描述符

✌25.Update Copyright:更新版权

✌26.Convert Java File to Kotlin File:将Java文件转化为Kotlin文件

(6)Analyze分析

✌1.Inspect Code:检查代码

✌2.Code Cleanup:代码清除

✌3.Silent Code Cleanup:无声代码清理

✌4.Run Inspection by Name:自动检查清除冗余资源

✌5.Configure Current File Analysis:配置当前文件分析

✌6.View Offline Inspection Results:查看离线检查结果

✌7.Infer Nullity:推断出无效

✌8.Locate Duplicates:查找重复

✌9.Show Coverage Data:显示覆盖数据

✌10.Analyze Dependencies :分析依赖性

✌11.Analyze Backward  Dependencies :分析落后的依赖关系

✌12.Analyze Module  Dependencies:分析模块依赖关系

✌13.Analyze Dependency  Matrix:分析从属矩阵关系

✌14.Analyze  Cyclic Dependencies:分析循环依赖关系

✌15.Analyze  Data  Flow to Here :分析到这里的数据流

✌16.Analyze Data Flow from Here :从这里分析数据流

✌17.Analyze Stack Trace :分析堆栈追踪

(7)Refactor重构

✌1.Refactor This:重构这个

✌2.Rename:重新命名

✌3.Change Signature:重新署名

✌4.Type Migration:类型迁移

✌5.Make Static:使静态

✌6.Convert To Instance Method :转换到实例方法

✌7.Move:移动

✌8.Copy:复制

✌9.Safe Delete:安全删除

✌10.Extract:提取

✌11.Inline:内联

✌12.Invert Boolean:反布尔

✌13.Pull Members Up:将成员拉上来

✌14.Push Memberers Down:将成员推下去

✌15.Push ITDs In:推动ITDs

✌16.Use Interface Where Possible:使用接口

✌17.Replace Inheritance with Delegation:用委托代替继承

✌18.Remove Middleman :移除调解

✌19.Wrap Method Return Value:回绕法返回值

✌20.Encapsulate Fields:封装领域

✌21.Replace Constructor with Factory Method:使用工厂方法替代构造方法

✌22.Generify:泛型化

✌23.Migrate:迁移

✌24.Internationalze:国际化

✌25.Convert to Java:转换为Java

✌26.Convert to @CompileStatic:转换为@CompileStatic

✌27.Modularize:使模块化

✌28.Remove Unused Resources:删除未使用的资源

✌29.Migrate App To Appcompat:将应用程序移动到Appconpat

✌30.Inline Style:内联模式

✌31.Use Style Where Possible:尽可能使用风格

(8)Build构建

✌1.Build Project:构建工程

✌2.Build Module:构建模块

✌3.Recompile:重新编译

✌4.Rebuild Project:重新构建工程

✌5.Generate Ant Build:生成Ant构建

✌6.Build Artifacts:构建构件

✌7.Analyze APK:分析APK

✌8.Run Ant Target:运行Ant目标

猜你喜欢

转载自www.cnblogs.com/weixinyu98/p/9829521.html