Geany 2.0 发布使其成为更通用的文本编辑器和 IDE
Python IDE Geany
![](/data/attachment/album/202310/29/171811kqqcqggcg2h517go.jpg)



> 
> Geany 2.0 带来了新的文件类型和其他改进。
> 
> 
> 


[Geany](https://www.geany.org/) 被认为是 [Linux 上最好的 Python IDE](https://itsfoss.com/best-python-ides-linux/) 之一，它是**一个基于 GTK3 工具包的开源、轻量级 IDE**。


考虑到 Geany 的功能集对各种用户的吸引力，它也可以算作 [Linux 上 Notepad++ 的替代品](https://itsfoss.com/notepad-alternatives-for-linux/)之一。


现在，新版本已以 “**Geany 2.0**” 的形式推出，提供了许多改进。


让我们看看有什么。


### ? Geany 2.0：有什么新变化？


![](/data/attachment/album/202310/29/171857a9i64l282i9yq32g.png)


Geany 版本的亮点可以分为两个不同的部分，主要涵盖界面和对文件类型的更好支持。


#### 文件类型升级


通过更新 [基本类型](https://kotlinlang.org/docs/basic-types.html)，改进了 **Kotlin** 的文件类型配置。同样，对于 **Python** ，针对 Python 3 重写了标准库标签创建脚本，并改进了对 **ctags** 文件格式的支持。


最后，Geany 添加了对 [AutoIt](https://en.wikipedia.org/wiki/AutoIt) 和 [GDScript](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/index.html) 等新文件类型的\*\*支持，并更新了 **Nim** 和 **PHP** 的文件类型配置，以解决一些长期存在的问题。


#### 界面改进


![](/data/attachment/album/202310/29/171858eruuw7w5ao1au5br.png)


Geany 2.0 在文档列表的侧边栏中提供了**新的树视图**。它是默认启用的，因此你无需执行任何操作。


当你有大量单独的文件需要检查时，它非常实用。你还可以折叠特定文件夹以最大程度地减少混乱。


![](/data/attachment/album/202310/29/171858l8lox1owuz1w8p8w.png)


**编译器消息现在使用深色主题友好的颜色**，以便你可以轻松阅读消息。这在深夜编码时应该很有帮助。


此外，**一个新的确认对话框**添加到整个会话的“搜索和替换”功能中，并且**添加了一个选项以在符号树中显示符号**，而无需类别组。


#### ?️ 其他变化


除了上述内容之外，还有一些值得注意的变化：


* Geany 现在需要 GTK 3.24。
* 你现在可以滚动文档选项卡。
* 更新了多种语言的翻译。
* 修复了文件类型更改时的关键词着色问题。
* 现在默认启用“更改历史记录”功能。


有关此版本的更多详细信息，你可以浏览[官方发行说明](https://www.geany.org/documentation/releasenotes/)。


### ? 下载 Geany 2.0


由于它是 **跨平台 IDE**，Geany 2.0 可用于 **Linux**、**Windows** 和 **macOS**。你可以前往 [Flathub 商店](https://flathub.org/apps/org.geany.Geany)或其 [官方网站](https://www.geany.org/download/releases/)下载你选择的包。



> 
> **[Geany](https://www.geany.org/download/releases/)**
> 
> 
> 


如果你对源代码感兴趣，你还可以访问其 [GitHub 仓库](https://github.com/geany/geany)。




---


via: <https://news.itsfoss.com/geany-2-0/>


作者：[Sourav Rudra](https://news.itsfoss.com/author/sourav/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

[Geany](https://www.geany.org/?ref=news.itsfoss.com) is regarded as one of the [best Python IDEs for Linux](https://itsfoss.com/best-python-ides-linux/?ref=news.itsfoss.com), it is **an open-source, lightweight IDE** based on the GTK3 toolkit.

It can also be counted as one of the [alternatives to Notepad++ on Linux](https://itsfoss.com/notepad-alternatives-for-linux/?ref=news.itsfoss.com) considering Geany's feature-set appeals to variety of users.

Now, a new release has been introduced in the form of '**Geany 2.0**' that offers many improvements.

Let's see what is in store.

## 🆕 Geany 2.0: What's New?

![a screenshot of geany 2.0](https://news.itsfoss.com/content/images/2023/10/Geany_2.0_1.png)

The highlights of this Geany release can be divided into two distinct sections, which cover mostly the interface and better support for filetypes.

### Filetype Upgrades

The filetype configuration for **Kotlin** was improved with updates to the [basic types](https://kotlinlang.org/docs/basic-types.html?ref=news.itsfoss.com). Similarly, for **Python**, the standard library tags creation script was rewritten for Python 3 and support was improved for the **ctags** file format.

And finally,** support for new filetypes **such as [ AutoIt](https://en.wikipedia.org/wiki/AutoIt?ref=news.itsfoss.com) and

[were added to Geany, and the filetype configs for](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/index.html?ref=news.itsfoss.com)

**GDScript****Nim**and

**PHP**updated for addressing some long-standing issues.

### Interface Improvements

![a screenshot of geany 2.0 tree view under the documents tab of the sidebar](https://news.itsfoss.com/content/images/2023/10/Geany_2.0_2.png)

Geany 2.0 features** a new tree view** in the sidebar for the documents list. It is enabled by default, so you don't have to do anything.

It is practical when you have numerous individual files to go through. You can also collapse specific folders to minimize the clutter.

![a screenshot of geany 2.0 dark theme friendly colors for compiler messages](https://news.itsfoss.com/content/images/2023/10/Geany_2.0_3.png)

The **compiler messages now use dark-theme friendly colors** so that you can easily read the messages. This should be helpful during those late-night coding runs.

Furthermore, **a new confirmation dialog** was added to the “search & replace” feature for the whole session, and **an option was added to show symbols in the symbol tree** without the category group.

### 🛠️ Other Changes

Other than the above-mentioned, here are some changes that are worth noting:

- Geany now requires GTK 3.24.
- You can now scroll over document tabs.
- Updated translations for various languages.
- The keyword colorization was fixed on filetype change.
- The 'Change History' feature is now enabled by default.

For more details on this release, you can go through the [official release notes](https://www.geany.org/documentation/releasenotes/?ref=news.itsfoss.com).

## 📥 Download Geany 2.0

As it is **a cross-platform IDE**, Geany 2.0 is available for **Linux**, **Windows**, and **macOS**. You can go to the [Flathub store](https://flathub.org/apps/org.geany.Geany?ref=news.itsfoss.com) or its [official website](https://www.geany.org/download/releases/?ref=news.itsfoss.com) to grab the package of your choice.

You can also head over to its [GitHub repo](https://github.com/geany/geany?ref=news.itsfoss.com) if you are interested in the source code.

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).