Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deep operating system self-developed deepin-IDE development tool makes its debut: open source code, independent of VS Code

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >

Share

Shulou(Shulou.com)11/24 Report--

Thank CTOnews.com netizens for having clues of crucian carp Xuehu and AliveZhy to deliver! CTOnews.com September 4 news, deepin deep operating system today officially announced its self-developed IDE development tools, after years of research and development, deepin-IDE debuted for the first time, officials said that the ultimate goal is to integrate scattered content together to form a highly unified, open and free, resource-rich ecological construction weapon.

According to reports, deepin-IDE has been developed internally for many years and has not yet reached a very perfect stage. At the same time, because the designer is not involved, the whole interface is "native" designed by the R & D staff.

▲ language support, image source depth operating system official account, the same below

▲ code migration

▲ debug mode

▲ reverse debugging

▲ version management deepin-IDE is generally developed based on a modular framework, supporting C / C++, Java, Python and other programming languages, each of which is accessed by plug-ins.

According to the official of the deep operating system, on the one hand, modular design can shorten the product development and manufacturing cycle, increase the product range, improve product quality, and quickly respond to market changes; on the other hand, it can also reduce or eliminate the adverse impact on the environment, facilitate reuse, upgrade, maintenance and independent unloading. The overall structural design is shown in the following figure:

As shown in the figure above, the colored modules are related to a specific language, and the corresponding communication middleware uses the LSP (Language Server Protocol) language service protocol, based on which syntax highlighting, symbol tree, grammar tree and other functions can be realized. Debugging is related to the use of DAP (Debug Adapter Protocol) debugging adaptation protocol, which can be used to achieve common debugging functions, such as starting, running, breakpoint hit, single step jump in, single step jump out, and so on. Through the adaptation of the intermediate protocol, the dependence of the language business function and the actual function provider is decoupled, which makes the language extension feasible.

In order to further improve the scalability, the front end and back end are implemented in the form of plug-ins. At the front end, the extension of the new language is realized by accessing a new language plug-in, which is used to implement language-related and special business logic without writing a full amount of code, thus reducing the code burden of the language plug-in.

At the back end, it is easier to access a language service provider through plug-ins.

According to the above description, the language-related top-level data flow graph is drawn as follows:

Function introduction deepin-IDE not only contains common functions of IDE, such as intelligent editor, highly scalable command system, project management, construction management system, plug-in system, etc., but also supports a variety of compatible protocols, a variety of development languages, code version management integration, low-overhead real-time performance analysis tools. Overall, the common features of IDE are in the table:

Version management supports mainstream version control systems Git and SVN.

Protocol support

Language support C++, C, Java, Python, JavaScript five commonly used editing languages, support for commonly used construction tools CMake, Maven, Ninja, Gradle and so on.

In addition to the above common features, deepin-IDE also includes some unique features, such as reverse debugging, code migration, and so on.

Reverse debugging this function further improves the debugging efficiency and development ability of the application by means of process execution history playback, event classification management, timeline management and so on.

Code migration code migration analysis subsystem is a highlight of deepin-IDE, which can help developers migrate Linux applications on x86 platform to domestic processor architectures such as Godson and Feiteng, and domestic operating systems such as UOS. Using this function, you can automatically analyze the code content that needs to be modified, and give guidance on code migration, reducing the difficulty of migration and improving the efficiency of migration.

According to reports, self-developed IDE can provide development support for DTK and various second-open interfaces, and developers can develop applications corresponding to business functions based on the development library. Secondly, self-developed IDE can provide "exquisite" packaging format by default, which can cover the whole Linux ecological environment in one package. Finally, in order to facilitate developers to communicate and enhance community activity, self-developed IDE can integrate the developer platform to enable developers to exchange development experiences together.

Deep operating system official said that deepin-IDE developed more than 140000 lines of code. To avoid repeating wheels, deepin-IDE uses some open source terminal components and functional components:

Deep operating system officials also responded that deepin-IDE and VS Code are not related.

The deepin-IDE code now has a public address. The attached warehouse and download address for CTOnews.com are as follows:

Warehouse address:

GitHub: https://github.com/linuxdeepin/deepin-unioncode

Gitee: https://gitee.com/deepin-community/deepin-unioncode

Download link:

Https://github.com/linuxdeepin/deepin-unioncode/releases

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

IT Information

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report