百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

geany

> 开发工具
开源

一个快速而轻量级的 IDE

3.7K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个快速而轻量级的 IDE

Geany - A fast and lightweight IDE

About

Geany is a small and lightweight integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME. So it is using only the GTK+ toolkit and therefore you need only the GTK+ runtime libraries to run Geany.

.. image:: doc/images/main_window.png :width: 750 :alt: Screenshot of Geany showing the main user interface :target: doc/images/main_window.png

Features

The basic features of Geany are:

  • syntax highlighting
  • code completion
  • auto completion of often used constructs like if, for and while
  • auto completion of XML and HTML tags
  • call tips
  • folding
  • many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
  • symbol lists
  • embedded terminal emulation
  • extensibility through plugins

Installation from distribution packages

Using distribution packages on Linux, BSD and similar distributions is the easiest and recommended way. This way you will also benefit from automatic Geany updates by the package manager of the distribution.

Packages are available for most distributions including Debian, Fedora, Ubuntu and many more.

Installation on Mac OS and Windows

Prebuilt binary packages for Mac OS and Windows can be found on https://www.geany.org.

Installation from sources

Requirements ++++++++++++ For compiling Geany yourself, you will need the GTK3 libraries and header files. You will also need its dependency libraries and header files, such as Pango, Glib and ATK. All these files are available at https://www.gtk.org.

Furthermore you need, of course, a C compiler and the Make tool; a C++ compiler is also needed for the required Scintilla library included. The GNU versions of these tools are recommended.

To build the user manual you need rst2html from Docutils. A pre-built version of the manual is available in distribution tarballs and will be used as fallback if rst2html is missing. When building from Git however, that pre-built version is not included and rst2html is required by default. You can explicitly disable building the user manual using the --disable-html-docs configure flag, but this will result in not installing a local version of the user manual, and Geany will then try and open the online version instead when requested.

.. note:: Building Geany from source on Mac OS and Windows is more complicated and is out of scope of this document. For more information on building instructions for these platforms, please check the wiki at https://wiki.geany.org/howtos/.

Installing from a Git clone +++++++++++++++++++++++++++

Using the Meson build system ++++++++++++++++++++++++++++

N.B. Meson support is still incomplete and a work-in-progress.

Meson requires to chose a separate build directory. Either create one, or let meson do it:

meson build or mkdir build; cd build; meson ..

Either command will configure the build system. The system is probed in many ways and system-dependant build files are created. This includes location of dependencies and compiler and linker flags required for them.

To build Geany, follow with a meson compile -C build

To install Geany, follow the build with a sudo meson install -C build.

By default, meson will install Geany to /usr/local. A different prefix can be selected at the initial command or via reconfiguration:

meson --prefix /opt build or meson configure --prefix /opt build

Geany has some selectable features that may reduce the required build and runtime dependencies. See meson_optionts.txt for a full list.

To turn a feature off, use -D<feature>=false when configuring the build, for example: meson configure -Dvte=false build

Using Autotools +++++++++++++++

Install Autotools (autopoint, automake, autoconf and libtool), gettext, and the GLib development files before running any of the following commands, as well as rst2html from Docutils (see above for details). Then, run ./autogen.sh and then follow the instructions for installing from a release tarball_.

Installing from a release tarball +++++++++++++++++++++++++++++++++

Run the the following three commands::

$ ./configure
$ make
(as root, or using sudo)
% make install

For more configuration details run ./configure --help.

If there are any errors during compilation, check your build environment and try to find the error, otherwise contact the mailing list or one of the authors.

See the manual for details (geany.txt/geany.html).

Usage

To run Geany just type::

$ geany

on a console or use the applications menu from your desktop environment. For command line options, see the manual page of Geany or run::

$ geany --help

for details. Or look into the documentation in the doc/ directory. The most important option probably is -c or --config, where you can specify an alternate configuration directory.

License

Geany is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. A copy of this license can be found in the file COPYING included with the source code of this program. The included Scintilla library (found in the subdirectory scintilla/) has its own license, which can be found in the file scintilla/License.txt included with the source code of this program.

Ideas, questions, patches and bug reports

See https://www.geany.org/. If you add something, or fix a bug, please create a pull request at https://github.com/geany/geany/. Also see the HACKING file.

GitHub Issues· 1280 开放

在 GitHub 查看全部
  • #4663

    Geany ignores my geany.css

    更新于 2026年9月15日
  • #4577

    Add nimlsp and nimlangserver support for nim language

    更新于 2026年9月15日
  • #4662

    Long line marker color configured in Preferences, not scheme

    更新于 2026年9月12日
  • #4642

    Whole word searching fails on incomplete parenthesis but succeeds on complete parentheses

    更新于 2026年9月11日
  • #4649

    Feature request: If a Project is open, show the Project root when I do a File/Open

    更新于 2026年9月11日
  • #4661

    GEANY_API_SYMBOL in implementation rather than header

    更新于 2026年9月11日
  • #4652

    Do we have any policy regarding LLM-based contributions?

    更新于 2026年9月8日
  • #4658

    [github CI] Build Jobs use stale build environment

    更新于 2026年9月7日
  • #4606

    [Build Tab] Persistent custom tabs with the Project menu causes Build duplicates

    更新于 2026年9月1日
  • #4657

    Geany 2.1 macos paste in file dialog bug

    macos更新于 2026年9月1日

核心特点

  • •syntax highlighting
  • •code completion
  • •auto completion of often used constructs like if, for and while
  • •auto completion of XML and HTML tags
  • •call tips
  • •many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
  • •symbol lists
  • •embedded terminal emulation
  • •extensibility through plugins

> 标签

Cgeanyidetext-editor

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具