适用于 Windows 的免费轻量级 IDE/文本编辑器 - C++ 开发
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2286130/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Free Lightweight IDE/Text Editor for Windows - C++ Development
提问by Chirag
I have searched a lot for the exact development tool that fits my requirements, but could not find it anywhere.
我已经搜索了很多适合我要求的确切开发工具,但在任何地方都找不到。
Here are my requirements:
以下是我的要求:
1) Free.
1) 免费。
2) Lightweight. (Eclipse is out).
2)轻量级。(Eclipse 出来了)。
3) Can handle a large project.
3) 能处理大项目。
4) Input: Just the source tree, and possibly makefiles. No project/solution files.
4) 输入:只是源代码树,可能还有生成文件。没有项目/解决方案文件。
5) Indexing - Auto Completion and "Go to Declaration/Definition". - Very Important. The only reason for not using Notepad++.
5) 索引 - 自动完成和“转到声明/定义”。- 很重要。不使用 Notepad++ 的唯一原因。
6) Good tabbed source editing with Highlighting with a nice GUI. No terminal editors for me.
6) 良好的标签式源代码编辑,带有漂亮的 GUI 突出显示。我没有终端编辑器。
I do not need any other features like Code compilation, Debugging, etc.
我不需要任何其他功能,如代码编译、调试等。
Used Notepad++ for the same project, but my requirement no. 5 is missing. It does have plugins, but they are a pain to use.
在同一个项目中使用 Notepad++,但我的要求不是。5 失踪了。它确实有插件,但它们使用起来很痛苦。
I am currently using kscope on Linux over VMWare, and I found it to be exactly the perfect tool that I need, but VMWare is too slow, and too heavy for my machine.
我目前通过 VMWare 在 Linux 上使用 kscope,我发现它正是我需要的完美工具,但 VMWare 太慢,而且对我的机器来说太重了。
Can you suggest the perfect texteditor/IDE for me?
你能为我推荐完美的文本编辑器/IDE吗?
Thank You.
谢谢你。
回答by RRUZ
Try Code::Blocks
尝试代码::块
Highlights:
强调:
* Open Source! GPLv3, no hidden costs.
* Cross-platform. Runs on Linux, Mac, Windows (uses wxWidgets).
* Written in C++. No interpreted languages or proprietary libs needed.
* Extensible through plugins
Compiler:
编译器:
* Multiple compiler support:
o GCC (MingW / GNU GCC)
o MSVC++
o Digital Mars
o Borland C++ 5.5
o Open Watcom
o ...and more
* Very fast custom build system (no makefiles needed)
* Support for parallel builds (utilizing your CPU's extra cores)
* Multi-target projects
* Workspaces to combine multiple projects
* Inter-project dependencies inside workspace
* Imports MSVC projects and workspaces (NOTE: assembly code not supported yet)
* Imports Dev-C++ projects
Debugger:
调试器:
* Interfaces GNU GDB
* Also supports MS CDB (not fully featured)
* Full breakpoints support:
o Code breakpoints
o Data breakpoints (read, write and read/write)
o Breakpoint conditions (break only when an expression is true)
o Breakpoint ignore counts (break only after certain number of hits)
* Display local function symbols and arguments
* User-defined watches (support for watching user-defined types through scripting)
* Call stack
* Disassembly
* Custom memory dump
* Switch between threads
* View CPU registers
Interface:
界面:
* Syntax highlighting, customizable and extensible
* Code folding for C++ and XML files.
* Tabbed interface
* Code completion
* Class Browser
* Smart indent
* One-key swap between .h and .c/.cpp files
* Open files list for quick switching between files (optional)
* External customizable "Tools"
* To-do list management with different users
回答by Eli Bendersky
Sciteis great. It's lightweight in the sense you mention, as is my main "IDE" in the past few years for developing Python, Perl, VHDL and sometimes even C code. It doesn't have intellisense, but can be easily scripted with Lua and external scripts in any language you choose.
赛特很棒。从你提到的意义上来说,它是轻量级的,就像我在过去几年中用于开发 Python、Perl、VHDL 甚至 C 代码的主要“IDE”一样。它没有智能感知,但可以轻松地使用 Lua 和外部脚本以您选择的任何语言编写脚本。
回答by thdoan
Another good one is Geany (http://www.geany.org/).
另一个不错的是 Geany ( http://www.geany.org/)。