Huawei’s Next-Generation DevEco Studio IDE with Integrated AI-Assisted Programming Launches Preview

At the HDC 2024 Huawei Developer Conference this afternoon, Huawei officially announced the preview of the next-generation IDE with integrated AI-assisted programming.

Huawei’s official website states that HUAWEI DevEco Studio is an integrated development environment (IDE) designed for HarmonyOS application and meta-service developers.

DevEco Studio Next Developer Beta1 supports the application and service development of HarmonyOS Next Developer Beta1 version, and introduces new features such as code refactoring, visual analysis of the build process, custom build process, TSan/ASan/multi-thread detection, component time consumption analysis, and local emulator functions for macOS/Windows versions.

The AI-assisted programming tool DevEco CodeGenie Developer Preview Beta has started recruiting. The DevEco CodeGenie trial version supports intelligent knowledge Q&A in the HarmonyOS application development field, ArkTS code completion & generation, and universal card generation.

Feature Highlights:

Intelligent editing: Supports code highlighting, intelligent code completion, code error checking, automatic code navigation, code formatting, code searching, code refactoring, and improves code writing efficiency.

Flexible build: The new lightweight build tool DevEco Hvigor supports flexible build tasks and one-click compilation and packaging of applications.

Multi-terminal bidirectional real-time preview: Supports multi-terminal, bidirectional, real-time, dynamic, and component previews of interface code, and quickly checks the display effect of the interface.

Local emulator: Supports the smooth operation and debugging of HarmonyOS applications & services on the local emulator, supports GPS, microphone, battery, sensor simulation, supports network proxy configuration, and improves development and testing efficiency.

Multi-scenario deep optimization: DevEco Profiler optimization tool supports deep analysis of application startup, frame drop, CPU scheduling, and other multi-scenario optimizations, and improves the quality of HarmonyOS applications.

Application health check: Supports compatibility, performance, UX testing, power consumption, stability, and best practice detection of applications and meta-services during the development phase. Improves the quality and success rate of application and meta-service listing.

Cross-language debugging: Supports ArkTS & C++ cross-language debugging, assembly debugging, lldb command line debugging, reverse debugging, memory view analysis, intelligent jump, and rich debugging capabilities of data breakpoints.

DevEco Studio supports Windows 10/11 and macOS systems, IDE version number is 5.0.3.403, download address:

https://developer.huawei.com/consumer/cn/next/deveco-studio

Developer Beta1 (5.0.3.403) New and Enhanced Features

New Features

  • DevEco Studio provides out-of-the-box development experience, integrating HarmonyOS SDK, Node.js, Hvigor, OHPM, emulator platform, etc., simplifying the installation and configuration process of DevEco Studio; and provides an integrated historical project migration capability to help developers quickly complete project conversion. For specific information, please refer to Integrated Project Migration.
  • When using ArkTS language for development, code editing adds support for Refactor-Convert capabilities. Supports high-frequency conversion operations such as converting literal types to mapped types, assisting developers in efficiently refactoring code. For specific information, please refer to Code Refactoring.
  • The end-to-end integrated project supports the creation, development, debugging, deployment, and invocation of cloud objects. For specific information, please refer to Developing Cloud Objects.
  • Compilation and build support through the Build Analyzer tool for visual analysis to troubleshoot performance issues in the build process. For specific information, please refer to Analyzing Build Performance.
  • Stage model ArkTS project supports code obfuscation. For specific information, please refer to Code Obfuscation.
  • Supports developer-defined Hvigor tasks and plugins. For specific information, please refer to Expanding Build.
  • Provides hvigor lifecycle hooks, convenient for developers to use hooks for logical processing as needed in the lifecycle. For specific hooks available to developers, please refer to Build Lifecycle.
  • New runtime feature to obtain compilation and build parameters. For specific information, please refer to Obtaining Custom Build Parameters.
  • Supports using ArkUI Inspector to analyze layouts, allowing developers to view the UI display effect of the application on real devices in DevEco Studio. For specific information, please refer to Layout Analysis.
  • Supports using Device File Explorer to access device files, allowing developers to upload, download, and perform other operations on device files in DevEco Studio. For specific information, please refer to Viewing Device Files.
  • Fault analysis adds TSan detection and Ark compiler multi-thread detection. For specific information, please refer to TSan Detection and Ark Multi-thread Detection.
  • New hstack tool that can be used to restore the obfuscated crash stack of the release application to the corresponding source code stack. For specific information, please refer to hstack.
  • Previewer adds Mock data simulation function, allowing developers to simulate properties or methods on UI components or simulate import module methods according to actual needs in the preview scenario, enhancing the preview experience in the preview scenario. For specific information, please refer to Preview Data Simulation.
  • Preview supports lightweight simulation, allowing developers to debug using the previewer. For specific information, please refer to Debug Overview.
  • The preview startup adds the execution of PreviewChecker, which can only be previewed after passing the detection. For specific information, please refer to PreviewChecker Detection Rules.
  • DevEco Profiler performance optimization tool provides real-time monitoring capabilities and scenario optimization templates, facilitating comprehensive device resource monitoring, covering data collection across multiple dimensions, supporting ArkUI, component time consumption, parallelization, frame drop, memory resource usage, and function execution efficiency, bringing developers an efficient, code-line direct optimization experience. For specific information, please refer to DevEco Profiler Performance Optimization Tool.
  • Windows and macOS (ARM) version emulators add support for mobile phones (including foldable screens) and tablets. For specific information, please refer to Overview.
  • Emulators add support for network proxies and shake functions. For specific information, please refer to Network Proxy and Shake.
  • Supports dragging multiple HAP, HSP packages into the emulator window for installation. For specific information, please refer to Installing Application Packages and Uploading Files.
  • Provides a new application and service health check (AppAnalyzer) for testing and evaluating the quality of HarmonyOS applications/services, facilitating developers to self-test HarmonyOS applications/services. For specific information, please refer to Application and Service Health Check.
  • New support for executing test cases and obtaining test reports through command line methods. For specific information, please refer to Executing Tests Using Command Line.
  • The test framework adds local unit testing (Local Test), which does not require a device or emulator to perform tests. For specific information, please refer to Local Test.
  • ohpm adds automatic dependency version conflict resolution function. For specific information, please refer to resolve_conflict.
  • ohpm-repo supports custom storage plugins. For specific information, please refer to Custom Storage Plugin.
  • ohpm-repo supports multi-instance deployment, which can improve service high availability, load balancing capabilities, and system scalability. For specific information, please refer to Multi-instance Deployment.
  • ohpm-repo supports an anti-replay attack mechanism for interfaces to prevent requests from being maliciously replayed. For specific information, please refer to Frontend Page.

Enhanced Features

  • DevEco Studio full-page support for Sync synchronization.
  • Codelinter supports configuration preview, security, performance, one-time development multi-terminal deployment, ArkTS code style rule checks. For specific information, please refer to Code Linter Check.
  • Editor supports Quick Fix for fast repair capabilities. For specific information, please refer to Code Quick Fix Fast Repair.
  • Supports distinguishing between project-level and module-level oh-package.json5 configurations. For specific information, please refer to oh-package.json5.
  • oh-package.json5 supports parameterFile parameterized configuration file path. For specific information, please refer to oh-package.json5 File.
  • HAR supports multi-target product build. For specific information, please refer to Defining HAR Multi-target Build Products.
  • Native debugging supports stack visualization, so information visualization, Smart Step Into, and other functions. For specific information, please refer to Native Code Debugging.
  • Emulator’s GPS hardware simulation capability is enhanced, providing scenario data injection capability. For specific information, please refer to GPS Positioning.

Changed Features

  • API 11 Stage model and above, when creating a meta-service project or creating a module in a meta-service project, no longer defaults to creating service cards and EntryCard. Developers can choose any card size when creating cards.
  • The new project interface and template market have removed ten project templates: About Ability, Account, Business Card Ability, Category Ability, Category List Ability, Grid Ability, List Ability, Login Ability, Map Ability, and Splash Screen Ability.
  • The cloud development SDK dependency of the API 12 template has been changed to Cloud Foundation Kit, and developers no longer need to explicitly introduce the cloud development SDK as a dependency. For specific information, please refer to End-to-end Integrated Development.
  • The instrument test directory has been simplified, hiding files unrelated to test development. For specific information, please refer to [Customizing Abilities and Resources](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/ide-instrument-test-0000001806795804-V5#section760
  • DevEco Studio no longer supports low-code development