KDevelop 5.2 发布,改进对多种编程语言的支持

栏目: 软件资讯 · 发布时间: 6年前

内容简介:在 KDevelop 5.1 发布大半年后,KDevelop 5.2 正式发布了。KDevelop 是 KDE 的集成开发环境(IDE)。 以下是 5.2 的亮点摘要,你也可以在之前的测试版发布公告中发现一些其他信息: Analyzers 在 5.1 中,KDevelo...

在 KDevelop 5.1 发布大半年后,KDevelop 5.2 正式发布了。KDevelop 是 KDE 的集成开发环境(IDE)。

以下是 5.2 的亮点摘要,你也可以在之前的测试版发布公告中发现一些其他信息:

Analyzers

在 5.1 中,KDevelop 新增了一个 Analyzer 菜单 ,里面包含一系列与分析器类似的插件。5.2 版本将更多的分析器插件合并到 kdevelop.git 中,可供使用。

KDevelop 5.2 发布,改进对多种编程语言的支持

cppcheck

cppcheck 是一个非常流行的 C/C++代码缺陷静态检查工具,现在也可以默认运行,显示内联问题。

KDevelop 5.2 发布,改进对多种编程语言的支持

改进对 C++ 语言的支持

针对稳定性进行了大量改进,主要包括:

  • Properly pass on some categories of compiler flags from the build system to the analyzer, fixing e. g. parse errors in some Qt header files which cannot be parsed if a certain compiler configuration is not respected

  • Improve performance of C++ code completion in some situations

  • Restore some completion features from 4.x, such as automatic insertion of semicolons in some cases

改进对 PHP 语言的支持

包括对新语言特性的支持,类型系统处理以及 bug 修复,主要包括:

  • Add callable type to PHP.

  • Process member properties/calls for unsure types.

  • Fix uses of class in closure parameters and default values for functions.

  • Allow non-scalar constants. 

  • Add spaceship and null coalesce operators.

  • Support more cases of function argument unpacking.

  • Support for variadic functions in documentation popup.

  • Implement syntax support for function argument unpacking.

  • Add support for variadic functions. 

  • Support of Class::{expr}() syntax from Php 5.4.

  • Support for $this as an array when implementing ArrayAccess.

  • Php7 IIFE syntax parsing.

KDevelop 5.2 发布,改进对多种编程语言的支持

改进对 Python 语言的支持

主要包括:

  • Fixed a false-positive warning when a name used in a closure was defined later in the file.

  • Fixed highlighting of local variables in comprehensions and of parameters in lambda definitions.

  • Infer the correct type when slicing a tuple with constant integers.

  • Infer the correct type from `and` or `or` expressions (Nicolás Alvarez).

  • Internal code cleanups.

此外,KDevelop 还针对 Windows 版本进行了持续优化。包括将 Qt 版本升级到 5.9.1, KF5 升级到 5.37,LLVM / Clang 升级到 5.0.0 ,还将 QtWebEngine 取代 QtWebKit 作为默认的文档浏览器。

详细更新内容,请参阅发行主页

下载地址:

https://www.kdevelop.org/download


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《KDevelop 5.2 发布,改进对多种编程语言的支持》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Servlet与JSP核心技术

Servlet与JSP核心技术

/ 人民邮电出版社 / 2001-10 / 55.00元

一起来看看 《Servlet与JSP核心技术》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具