婉兮清扬

案上诗书杯中酒之快意人生

NetBeans C/C++ Development Pack

发表时间:2006-04-05 07:15:41
NetBeans开始提供对C/C++的支持了。

日前,Sun 发布了NetBeans C/C++ Development Pack的预览版本,该工具
允许开发人员在多种操作系统(包括Solaris, Windows 和Linux)上编辑,编译
以及创建基于C 和C++的应用程序。这个预览版本提供了C/C++开发人员常用的
一些功能,包括语法高亮显示,通过超链接实现更加方便的代码浏览,Makefile
向导,项目模板等等。这个工具还扩展了NetBeans的项目管理系统,提供了对C
和C++项目的支持,同时支持多个项目配置。

相关链接:http://cnd.netbeans.org/


Supported Features


As said above, cnd will be made available after each milestone build. Many features are in the current milestone (milestone 2) but others will be added in a later milestone.

The current feature set includes:

  • Basic Editing

    • Syntax Highlighting

    • Indentation



  • Project Types

    • C/C++ Application

    • C/C++ Dynamic Library

    • C/C++ Static Library

    • C/C++ Project with Existing Makefile




Addition features expected soon:

  • Advanced Editing

    • Code Completion

    • Code Folding

    • Class Viewer

    • Goto Declaration



  • C/C++ Online Help


Planned features:

  • Debugging
    We realize this is a pretty serious limitation. However, we (the Sun Studio IDE team) use dbx for our debugger engine and dbx doesn't run on all platforms we support. So we plan on adding gdb support sometime in the future.


Limitations in Milestone 2:

  • Project Rename is not supported

  • Project Deletion is not supported

  • File Copy/Paste does not work

  • File Drag and Drop does not work

  • C/C++ Dynamic Libraries link but do not run on Windows

  • Absolute paths in C/C++ projects do not work on Windows

  • The Run action runs programs with output going to the Output window. If the application requires input from stdin, there is currently no way of providing it. The application will block waiting for input.


Compiler Support


Linux typically comes with GNU compilers. Solaris developers usually use the Sun Studio compilers (best choice:-) or get GNU compilers. So we expect to leave the compiler choice to the developer on these platforms.

On Windows, its not as straight forward. We plan on supporting GNU compilers and GNU make, but there are many different channels a developer can use for obtaining these. Should we provide them in our installer? Should we leave it 100% to the developer? Our tentative plan is to bundle the minimum amount of GNU software to ensure a minimal build environment (probably gcc, g++, and GNU make). But we haven't looked into what that entails, either from the technology point of view or a legal point of view. Either of those could affect our decision.

If you think we should do more (or less), please send us feedback at dev@cnd.netbeans.org (although we'll usually see C/C++ issues sent to nbusers@netbeans.org).




上一篇 下一篇

 
姓名:
评论:

请输入下面这首诗词的作者姓名。

白日依山尽,黄河入海流。
欲穷千里目,更上一层楼。

答案:

云与清风常拥有,
冰雪知音世难求。
击节纵歌相对笑,
案上诗书杯中酒。

蒋清野
2000.12.31 于 洛杉矶