Geany
Geany is a lightweight and convenient editor, which is relatively beginner-friendly in Linux environments.
Like Dev-C++, it can compile and run single files.
However, it can run on Linux/Windows/macOS.
Its official website is: https://geany.org/
Pros and Cons
Pros
- Lightweight;
- Can compile and run single files;
- Requires minimal configuration;
- Cross-platform.
Cons
- Not widely used;
- Has some permission issues on macOS Catalina2;
- New files do not have syntax highlighting by default; the file type must be switched manually.
Installation
Refer to Download | Geany
Usage Tips
Switching File Types
Switch under Document -> Set File Type.
For example, for the C++ language, click Document -> Set File Type -> Programming Languages -> C++ Source File, and you will see the file has been converted to C++ syntax highlighting.
Setting File Templates
Create a templates/files folder in the configuration directory. Files placed inside will become template files. After reopening Geany, you can find them under File -> New from Template.
The configuration directory can be found in the second and third lines of Help -> Debug Messages.
Here are the default template configuration directories for macOS and Linux:
- System directory:
/usr/share/geany/templates/files/ - User directory:
~/.config/geany/templates/files/3
Common Issues
Compatibility with Deepin Terminal
In Preferences -> Tools -> Virtual Terminal, modify the terminal command to:
1 | |
Click the "Apply" button to save the changes.1
References and Notes
-
Source: Deepin Wiki https://wiki.deepin.org/ ↩
-
For details, see: https://github.com/geany/geany/issues/2344 ↩
本页面最近更新:,更新历史
发现错误?想一起完善? 在 GitHub 上编辑此页!
本页面贡献者:OI-wiki
本页面的全部内容在 CC BY-SA 4.0 和 SATA 协议之条款下提供,附加条款亦可能应用