GNOME Builder 技术专题简介-编程知识网

简介

此条目目前正依照en:Wikipedia:GNOME Builder上的内容进行翻译。 (2019年5月21日)如果您擅长翻译,并清楚本条目的领域,欢迎协助翻译、改善或校对本条目。此外,长期闲置、未翻译或影响阅读的内容可能会被移除。GNOME Builder使用light Adwaita主题的GNOME Builder 3.16.3首次发布2015年3月24日,​8年前​(2015-03-24)当前版本44.1 (2023年3月20日;稳定版本) 源代码库gitlab.gnome.org/GNOME/gnome-builder.git 编程语言C操作系统Linux、BSD家族语言多语言类型IDE许可协议GPLv3网站wiki.gnome.org/Apps/BuilderGNOME Builder是GNOME桌面环境的集成开发环境(IDE)。其首个版本发布于2015年3月24日。

特性

GNOME Builder has been addressing “GNOME App” developers from its inception on, and aims to integrate well with other Gnome desktop development tools.

集成对GNOME Devhelp的支持。

The version control system git can be used by GNOME Builder to highlight code additions and changes.

支持开发flatpak应用。

GNOME Builder借助于GtkSourceView(页面存档备份,存于互联网档案馆)为多种编程语言提供语法高亮功能。

支持C系语言(C、C++等)、Vala 和Python的代码补全,其他语言正在开发中。

支持安装C、Python 3以及Vala编写的插件。

GNOME Builder has basic support for many programming languages, and will offer additional features for languages that are supported by GObject Introspection.

At GUADEC2016 Christian Hergert provided a YouTube上的demo of an upcoming version of GNOME Builder. More features will be integrated once GTK+ Scene Graph Kit will have been merged into GTK+. sysprof was forked and its version number bumped from 1.2.0 to 3.20 and was integrated in version 3.22.

Gnome Builder uses Gnome Code Assistance to provide code diagnostics for CSS, HTML, JS, JSON, Python, Ruby, SCSS, Shell script and XML. Jedi is used for code completion for Python. Clang is used for code assistance for the C-like languages. Rust diagnostics are provided by using the Language Server Protocol to communicate with the Rust Language Server.

用户界面

Most of the interface is dedicated to the centrally positioned code editor. The editor automatically recognizes most programming languages and will highlight the text accordingly. When a version control system is used, colored bars next to the line numbers indicate changes to those lines. For supported languages, additional symbols highlight lines that contain errors or poorly formatted code.

Builder可使用类Vim、类Emacs的键绑定。

Around the code-editor, additional panels can be toggled into view. These include a project-tree, a terminal-window, and a help-browser. The project tree allows the user to perform file and folder operations.

开发

GNOME Builder开发项目于2015年发起众筹。筹得资金达到其预期目标的169%(55360美元)。

版本历史

3.16.0:2015年3月24日发布首个版本。

3.16.1:此版本发布于2015年4月13日,包括有关UI(用户界面)、文件管理和语法高亮的许多改进。

3.16.2:发布于2015年4月16日,修复许多Bug并对项目管理功能进行了改进。

3.16.3: Released on 18 May 2015 this update included a source-overview-map for scrolling and updates to the preference-dialogs.

3.18.0:于2015年9月23日与GNOME 3.18的其他组件同时发布。

3.18.1 was released on 15 October 2015 and brought many improvements to Vala code completion and error-hinting. The Jedi-plugin for Python code-completion was improved as well.

3.20:发布于2016年3月23日。

3.20.4:发布于2016年5月6日。

3.22:此版本对Rust和其Gtk绑定做了初步支持。

3.22.4: Updates to the build system and the Flatpak integration.