-
检查变量 - CodeArts IDE
VARIABLES部分显示在当前堆栈帧(即在“调用堆栈”部分中选择的堆栈帧)中可访问的元素,并包括以下部分: static:列出静态类字段。 method return value:当一个方法在调试会话期间被多次调用时,本节显示该方法在上一步返回的值。这使您可以观察值在方法调用之间的变化。 this:显示正在调用其方法的对象的内容。
-
代码校验 - CodeArts IDE
在CodeArts IDE设置中(“Ctrl+,”),输入python关键字,转到“扩展”>“Python”。 在“Features: Inspections”或“Features: Quick Fixes”设置组下找到所需的验证规则或快速修复,或者使用搜索框快速定位。 要启用或禁用某个规
-
类型迁移 - CodeArts IDE
ArrayList<String> myResult; public String[] getResult() { return myResult.toArray(new String[myResult.size()]); } } 重构后 class TypeMigration
-
导航代码 - CodeArts IDE
导航代码 简介 Call Hierarchy Type Hierarchy CodeLens Structure 父主题: Java
-
用生成器替换构造函数 - CodeArts IDE
= hello; return this; } public InnerClassBuilder setWorld(String world) { this.world = world; return this; } public
-
启动配置示例 - CodeArts IDE
Process Id", "type": "python", "logToFile": false, "showReturnValue": true } 父主题: 附加到进程
-
移动静态成员 - CodeArts IDE
println(staticStr); } private static Boolean staticMethod2() { return true; } void method() { } } enum MyEnum { ; String
-
移动实例方法 - CodeArts IDE
anotherObject) { System.out.print(anotherObject.toString()); return this.name; } } 重构后 public class MoveInstanceMethod { public
-
更改方法签名 - CodeArts IDE
上。 在主菜单或编辑器上下文菜单中,选择Refactor>Change Method Signature或按“Ctrl+F6”。 在打开的Change Method Signature对话框中,提供重构选项。 指定方法的可见性、名称和返回类型。 在Params选项卡上,配置方法的
-
启动配置示例 - CodeArts IDE
true, "pythonArgs": [], "name": "Python: Module", "showReturnValue": true } 父主题: Python模块
-
启动配置示例 - CodeArts IDE
"justMyCode": true, "pythonArgs": [], "name": "Python: File", "showReturnValue": true } 父主题: Python文件
-
启动配置示例 - CodeArts IDE
true, "pythonArgs": [], "name": "Python: FastAPI", "showReturnValue": true } 父主题: FastAPI应用
-
启动配置示例 - CodeArts IDE
"justMyCode": true, "pythonArgs": [], "name": "Python: File", "showReturnValue": true } 父主题: 当前Python文件
-
启动配置示例 - CodeArts IDE
"pythonArgs": [], "name": "Python unittest tests", "showReturnValue": true } 父主题: unittest
-
启动配置示例 - CodeArts IDE
"pythonArgs": [], "name": "Python: Pyramid Application", "showReturnValue": true } 父主题: Pyramid应用
-
启动配置示例 - CodeArts IDE
true, "pythonArgs": [], "name": "Python: Flask", "showReturnValue": true } 父主题: Flask应用
-
链接 - CodeArts IDE
链接 终端检测链接,当您悬停文件或URL时,显示下划线。您可以“Ctrl+Click”链接以转到其目标。 根据链路类型,激活它将执行以下操作之一。 在编辑器中打开文件。 聚焦工作区中的文件夹。 打开一个新窗口,其中包含工作区外的文件夹。 使用包含所有匹配项的快速拣货搜索工作区。 父主题:
-
启动配置示例 - CodeArts IDE
"pythonArgs": [], "name": "Python unittest tests", "showReturnValue": true } 父主题: unittest测试
-
启动配置示例 - CodeArts IDE
"PYTEST", "pythonArgs": [], "name": "Python pytest tests", "showReturnValue": true } 父主题: pytest测试
-
启动配置示例 - CodeArts IDE
true, "pythonArgs": [], "name": "Python: Django", "showReturnValue": true } 父主题: Django应用