Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1114053
  • 博文数量: 121
  • 博客积分: 8910
  • 博客等级: 上将
  • 技术积分: 2915
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-18 09:36
文章分类

全部博文(121)

文章存档

2011年(3)

2010年(100)

2008年(18)

分类:

2010-05-03 11:00:47

KDevelop黑客们自豪并高兴的告诉大家,KDevelop 4.0 做为稳定版本发布,和他一起发布的还有KDevelop PHP插件,使得kdevelop做为PHP开发工具也成为一个不错的选择。

特 性:

KDevelop 4.0 附带了大量的特性,尽管由于时间的关系,相对于3.5系列版本缺少一些特性,事实上在4.0这个版本我们的重点是营造一个良好的C++ 整合开发环境,而不是多语言支持的半成品。当然,它仍有可能增加对更多语言的支持,KDevelop和我们对此有信心,事实上添加语言支持比以前更容易,随KDevelop一起发布的php插件就是一个证明。

代码导航,语法检查及更多

对C++支持的主要功能包括代码导航,它允许你跳转到声明,和语法高亮显示。结合他们使你更容易掌握新的代码库和浏览大项目的代码。也包括语法检查和半自动代码校正的支持,以及类、函数、模板、变量、包括语句的代码完成支持。对我们中的大多数Qt开发来说,它提供了Qt 信号/槽机制的广泛支持,在connect语句中你可以获得信号列表以及匹配的槽的完整信息。基于函数参数或信号/槽签名的匹配规则也给代码完成提供了很大的便利。

项目管理和代码导航

在项目管理上,当前使用CMake插件作为主要的buildsys支持,可以定制项目或产生Makefile文件,CMake项目定义文件也提供了一些代码导航和语法分析功能,整合C++和CMake意味着可以在CMake项目文件中添加新类和目标,也可以在构建项目时跳转到出错信息。此外,可以使用QuickOpen快速浏览项目中任何文件或者类、函数所在文件。

GDB的整合

集成的GDB的支持使得运行时的错误可以定位到你的代码。它允许像通常的断点功能,单步调试,停止和检查当前调用堆栈。此外,通过对GDB的支持,我们可以显示可读性好的Qt,KDE和STL的类型,也可以查看到展开的Qstring及Qlist内容。

文档

KDevelop整合了CMake、Qt的帮助文档,php插件也提供了访问在线php文档的方法,使用tooltips可以快速浏览项目中的类以及文件中的函数条目。

部分内容略,具体参见下述公告原文

The KDevelop Hackers are proud and happy to announce that KDevelop 4.0 is finally available as a stable release. Released together is the first version of KDevelop PHP plugins, which make KDevelop a very interesting option for PHP developers.

Features

KDevelop 4.0 comes with lots of features already, even though some things had to be dropped compared to the 3.5 series due to time constraints. In particular we have focused on building an excellent C++ IDE instead of trying to integrate lots of languages halfheartedly. Of course it is still possible to add support for more languages to KDevelop and we are confident that it is actually easier than before: the best proof for that is the PHP plugin that is released alongside KDevelop 4.0.

Code navigation, syntax checking and more

The major features for C++ support include code navigation, which allows you to jump to declarations, and semantic highlighting. Combined they make it much easier to grasp new code bases and navigate in big code projects. Support for syntax checking and semi-automatic code-correction with assistants is included as well as code completion that supports classes, functions, templates, variables and include statements. For the Qt developers among us there is extensive support for the signal/slot mechanisms in Qt. You get signal-completion in connect statements as well as completion for matching slots. Very handy is the weighting of completion items based on their matching in regard to the type of function arguments or the signal-slot signatures.

Project management and code navigation

For the project management we currently have CMake support as the main buildsystem plugin, building projects with custom or generated makefiles is possible too. The CMake support also has some of the above features available so you will get some completion and semantic highlighting as well as code-navigation even in CMake files. Integration between C++ and CMake means new classes can be added to targets in CMake files semi-automatically. To ease the fixing of build errors KDevelop allows jumping to the errors in the code. Furthermore you can use QuickOpen to navigate very fast to any file, class or function in your opened projects or inside the currently opened file.

GDB integration

The integrated GDB support makes it possible to find runtime errors you may have in your codebase. It allows for the usual features like breakpoints, stepping, stopping and inspecting the current call stack. Additionally through the use of special pretty-printing support in GDB we can show many Qt, KDE and STL types in a human-readable form. So your QString's will show up with their actual string literal in the variable list, a QList will have an expandable set of child items and so on.

Documentation

The last great feature of KDevelop we are highlighting is integration of documentation. KDevelop shows inline API documentation for both, CMake and Qt, in tooltips over classes and functions and it allows you to navigate in complete documentation via a toolview.

PHP plugins

This first release of the PHP support plugins already comes with a wealth of features that take some of the burden off a web developer:

Syntax errors get reported as you type and the sources of whole projects get semantically analyzed, including PHP Doc comments for type hints of parameters and return values. Furthermore it will give you extensive code completion, with solid support for OOP. We also support the above mentioned context browsing and semantic highlighting, integrate the online PHP.net documentation and hook into the QuickOpen and class browser plugins.

More to explore

There are many more things to discover in KDevelop and the PHP plugins, like SVN integration with inline editor annotations, grepping over files, session support and source code formatting. Far too much for a short article like this, so we have created a dedicated blog entry to show off some of the features.

Get Started!

We invite everybody to get a copy of the source code from KDE mirrors or install packages from distributions. We wish you all many happy hacking hours. If you run into problems or have questions do not hesitate to contact us either in #kdevelop on freenode, via bugs.kde.org or on our mailinglists.

kdevelop 4.0

阅读(1623) | 评论(5) | 转发(0) |
给主人留下些什么吧!~~

安何2010-05-13 09:54:12

jcheung2010-05-05 16:58:24

vim + Emacs 党 飘过~~

uskee2010-05-04 08:58:49

liuyuanyang2010-05-03 23:45:50

mirnshi2010-05-03 23:28:57