检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
关键字补全 CodeArts IDE为Java保留关键字(如public、void、if、while、boolean等)提供代码补全推荐。 父主题: 代码补全
要删除单个断点,请单击编辑器排水沟中的断点。要同时删除所有断点,请在Run and Debug视图的BREAKPOINTS部分中,单击工具栏中的Remove All Breakpoints按钮()。 父主题: 断点
在代码编辑器中,右键单击所需的行,然后从上下文菜单中选择Add Logpoint...。 或者,在主菜单中,选择Debug>New Breakpoint>Logpoint。 在打开的窥视编辑器中,键入命中日志点时应记录的消息。日志消息可以是纯文本,也可以包括要在大括号({})中计算的表达式。
在编辑器排水沟中,右键单击断点,然后从上下文菜单中选择Disable Breakpoint。 在Run and Debug视图的BREAKPOINTS部分中,清除要禁用的断点旁边的复选框。 要同时禁用所有断点,请执行以下操作: 在Run and Debug视图的BREAKPOINTS部分中,单击工具栏按钮。 父主题:
参数信息 在编辑区选择方法后,CodeArts IDE将显示参数信息。如果适用,语言服务将在快速信息和方法签名中显示基础类型。需要随时打开参数信息弹窗,请按“Ctrl+P”。 父主题: 代码补全功能
输出窗口可获得更多日志信息 该错误表明CMake项目配置失败,并将错误的信息日志打印输出到输出窗口,单击“是”,以切换到输出窗口获取更多详细信息。此外,可以通过下拉菜单进行手动切换。 父主题: Huawei C/C++组件激活失败常见问题
等待语言服务初始化完成 依赖项视图长时间出现“等待语言服务初始化完成”的提示信息,Maven/Gradle视图也一直显示“等待语言服务初始化完成”。 请检查系统环境是否是虚拟机环境,出现这种问题一般是虚拟机环境的系统缺失相关证书导致,如果是虚拟机环境,请按照如下步骤修复此问题。 单击CodeArts
C/C++语言支持,开箱即用的卓越开发体验 内置华为自研C++语言服务,针对cmake工程自动解析符号和配置编译调试选项,实现开箱即用的工程创建、语法解析、编码提示、代码重构、本地构建和断点调试等能力,提供卓越C++编码体验。 父主题: 产品特性
断点定义源代码中程序执行应停止的位置。CodeArts IDE 支持多种类型的断点,可以通过单击编辑器排水沟、使用排水沟的上下文菜单或在Run and Debug视图的Breakpoints中进行切换。 父主题: 断点
package com.refactoring.source; public class Refactoring { public String testStr = "test"; public void DoSomeThing() { System
AbstractClass { public void evaluate() { } } private abstract static class AbstractClass { public void print() {
a工具CMake Build Tool插件默认先读取内置工具路径。 cpp-build-tool.CMakeBuildTool.CMake获取cmake工具的路径。 cpp-build-tool.CMakeBuildTool.debugger获取MinGW工具的路径。 cpp-build-tool
message; public InnerClass(String hello, String world) { message = hello + ", " + world; } public void print() {
ExtractImpl { public int myField; public static void main(String[] args) { new ExtractImpl().print(); } public void print() {
{ public TestClass method() { final int i = 0; final String str = "string"; return new TestClass() { public String
“Ctrl+Shift+F8”打开Run and Debug视图。 在BREAKPOINTS部分中,单击Add Function Breakpoint工具栏按钮(),或者在主菜单中选择 Debug>New Breakpoint>Function Breakpoint. 输入所需函数的完全限定名称,然后按“Enter”键。
} } mapper接口: public interface IUserMapper { public List<User> getUserList(); public boolean addUser(User user); public boolean
重构前 class Outer { public String message; public static void main(String[] args) { } class Inner{ public void print() {
重构前 package com.source.feature; public class Refactoring { public String testStr = "test"; public void DoSomeThing() { System
message; public InnerClass(String hello, String world) { message = hello + ", " + world; } public void print() {