Abstract: On April 25th, Huawei Cloud released intelligent coding tool and Cloud native commissioning tool based on Huawei CloudIDE at the Huawei Developer Conference (Cloud).
This article is shared from Huawei cloud community “Huawei Cloud released intelligent coding tools and cloud native commissioning tools, reshaping cloud development productivity”, original author: Grey.
On The Huawei Developer Conference (Cloud) on April 25, Huawei Cloud released intelligent coding tools and Cloud native commissioning tools based on Huawei CloudIDE. In his keynote speech, Wang Yawei, chief expert of Huawei cloud development tools and efficiency and director of Huawei Development Tools Technical Committee, introduced how to reshape coding and microservice commissioning productivity based on Intelligent code completion technology (SmartAssist) and Microservice cluster Commissioning technology (CloudDebugger).
Wang Yawei, chief expert of Huawei cloud development tools and efficiency and director of Huawei Development Tools Technical Committee, introduces CloudIDE
Huawei CloudIDE helps developers reshape cloud native development productivity
Huawei CloudIDE service is a lightweight WebIDE for cloud native. It is originally born in Huawei cloud platform and grows in cloud business scenarios. It is deeply loved by Huawei cloud developers for its good development experience, numerous development scenarios and complete ecological expansion ability. In 2021, Huawei CloudIDE will be introduced with intelligent development and cloud native commissioning technology to help developers reshape cloud native development productivity.
With the rapid development of AI, 5G and Cloud technology (especially Cloud native technology), facing the background of comprehensive digital transformation of enterprises, it has become an irresistible trend for developers to help enterprises transform their business from “On Cloud” mode to “In Cloud” mode. IDE is the most important development tool. Its service form, use experience, intelligence level and support for cloud native technology directly affect the efficiency and quality of software delivered by developers.
Improving the efficiency of coding has always been the goal pursued by developers. IDE native development language services come with code hints mainly based on name matching, type matching and syntax analysis, with very limited completion ability, which cannot help developers in terms of lower keystroke times and optimal selection of recommendation order. Developers urgently need better intelligent code completion technology beyond IDE native language services to benefit from the deep implementation of AI technology in the coding domain.
In the cloud native era, applications are deployed on cloud platforms in microservices, containers, and clusters, such as Huawei cloud CCE services. In the code commissioning stage, how to improve the efficiency of tracking business requests, breakpoints and commissioning code, locating problems and verifying solutions in complex multi-micro service cluster scenarios is the most difficult problem faced by cloud native developers.
SmartAssist Intelligent completion – truly improve coding efficiency
Wang Yawei introduced that code completion is one of the most core capabilities of software development tools. It can prompt the developer to complete the whole symbol, such as method call, type name, variable name, class field, keyword, etc. In some common contexts, code completion can even complete the whole line of code. Currently, the code completion has grown into depth code analysis and deep learning model of intelligent completion technology, combined with the local code analysis model and multiple scene model, on the basis of the segments of fully understand the current context, based on the syntax and semantics to decision-making and sort all possible outcomes, the result of the completion good interpretability and regulatory.
Huawei Cloud’s SmartAssist intelligent completion technology based on enhanced code analysis combined with multiple scenariospecific models significantly improves the capabilities in the following three aspects:
First, improve the completion accuracy of multi-symbol/long results;
Second, non-obvious results recommendations for complex contexts, such as obscure third-party apis;
Third, avoid recommending expired/deprecated/dangerous apis.
Moreover, SmartAssist is a localization technology running in CloudIDE, which is very responsive and stable, and can greatly improve the coding efficiency and quality of developers.
CloudDebugger Microservice commissioning technology – Improves commissioning experience and efficiency in multi-microservice scenarios
At the same time, Wang yawei also said that improving the commissioning experience and efficiency in multi-micro service scenarios is an important step to improve the productivity of cloud native developers. The main problems facing microservice commissioning at present include: heavy workload of interface testing, heavy dependence on Mock services due to complex call relationships between microservices, incomplete testing, multi-process concurrent debugging, and infeasibility of traditional debugging methods. Developers are eager to recapture the benefits of single application development in new scenarios: visually viewing code context, modifying memory variables, testing statement execution, visually displaying call stacks, and setting breakpoints specifically. The CloudDebugger microservice commissioning technology developed by Huawei Cloud is based on independent debugging adaptation service, intelligent debugging message routing, remote code hot replacement, and batch message transfer protocol based on named pipes, realizing the capabilities that cloud native developers dream of: first, it is as convenient as single software commissioning; Second, support multi-person commissioning at the same time; Third, multi-micro service and multi-version commissioning at the same time; Fourth, breakpoints, single step tracking, variable view all available. Arguably, CloudDebugger is one of the most important efficiency boosters in the next generation of cloud native application development tools.
CloudIDE+CloudDebugger implements multi-microservice commissioning
Huawei continues to invest in basic software technology research, huawei CloudIDE service aims to “make the best CloudIDE service”, reshape the development productivity for cloud native developers, help enterprises digital transformation and land huawei cloud native 2.0, truly realize born in the cloud, grow in the cloud, stand without breaking!
→ CloudIDE
Click to follow, the first time to learn about Huawei cloud fresh technology ~