Apache NetBeans 12.3 现已发布,这是 Apache NetBeans 12 周期的第三个功能版本。应注意的是,12.2 版本没有像 LTS 版本那样经过大量测试,因此可能存在部分稳定性问题。
下载地址:https://netbeans.apache.org/download/nb123/nb123.html
更新亮点如下:
Java
LSP/VS Code Integration
- 引入代码元素的操作通过 LSP 公开:https : //github.com/apache/netbeans/pull/2647
- 代码生成器通过 LSP 公开:https : //github.com/apache/netbeans/pull/2587
- JavaDoc 显示在鼠标悬停在标识符上方:https : //github.com/apache/netbeans/pull/2601
- Folding rangers 通过 LSP 公开:https : //github.com/apache/netbeans/pull/2682
- LSP Codelens:https://github.com/apache/netbeans/pull/2705
- 总是保存修改后的文件:https : //github.com/apache/netbeans/pull/2730
- 显示注解处理器返回的补全:https : //github.com/apache/netbeans/pull/2736
- 项目问题在 headless 环境中得以解决:https : //github.com/apache/netbeans/pull/2652
- 安装/卸载提供某些 NB 群集的扩展程序时重新启动 NBLS:https : //github.com/apache/netbeans/pull/2698
- 启用完整的 VSNetBeans Maven 构建测试:https : //github.com/apache/netbeans/pull/2585
- 不显示 reload/save 对话框
- 从 LSP/DAP正确停止 Maven 执行:https : //github.com/apache/netbeans/pull/2679
Gradle
- 可以将最喜欢的任务添加到 Gradle Navigator:https : //github.com/apache/netbeans/pull/2595
- 在大型项目上改进了 Gradle 子项目显示:https : //github.com/apache/netbeans/pull/2629
- 使用复合 Gradle 构建时修复 IAE:https : //github.com/apache/netbeans/pull/2606
PHP
尽管尚未实现属性和命名参数的 code completion,但仍支持完整的 PHP 8.0 语法。
PHP 8.0 支持
- 构造函数属性推广:https : //github.com/apache/netbeans/pull/2674
- 命名参数:https : //github.com/apache/netbeans/pull/2704
- 属性语法:https : //github.com/apache/netbeans/pull/2640
- 允许在闭包使用列表中尾随逗号:https://github.com/apache/netbeans/pull/2692
Enhancements
- 在状态栏上显示和更改项目属性的 PHP 版本:https : //github.com/apache/netbeans/pull/2681
- 添加了 PSR-4 hints:https : //github.com/apache/netbeans/pull/2630
- 使用完整的 Composer 软件包名称:https : //github.com/apache/netbeans/pull/2583
- 添加用于 phpDocumentor 的 XML 配置的项目设置:https : //github.com/apache/netbeans/pull/2678
- 标记未使用的私有常量:https : //github.com/apache/netbeans/pull/2555
- PHP debugger -支持 resolved 断点:https : //github.com/apache/netbeans/pull/2665
- PHP debugger -启用“return”’断点:https : //github.com/apache/netbeans/pull/2659
- PHP debugger -修复长字符串显示:https : //github.com/apache/netbeans/pull/2673
- 改进的数组参数显示:https : //github.com/apache/netbeans/pull/2535
- code completion 中常量的改进:https : //github.com/apache/netbeans/pull/2536和https://github.com/apache/netbeans/pull/2578
- 格式化 PHP 代码时删除连续的空行:https : //github.com/apache/netbeans/pull/2573
Fixes
- PHP 代码生成器的共享设置:https : //github.com/apache/netbeans/pull/2691
- 修复 traits of use 和 group use statements 的 code completion:https : //github.com/apache/netbeans/pull/2533
- 修复匿名函数格式:https : //github.com/apache/netbeans/pull/2614
- 修复可执行脚本中的格式:https://github.com/apache/netbeans/pull/2581
- 取消查找用法操作:https : //github.com/apache/netbeans/pull/2550
HTML & CSS
- CSS 转到 Declaration,不起作用:https : //github.com/apache/netbeans/pull/2616
- 取消选择 CDNJS 中默认添加的文件:https : //github.com/apache/netbeans/pull/2634
- CSS:防止 UI 阻止未记录的属性:https://github.com/apache/netbeans/pull/2722
- 修复了 HTML 代码完成项的可读性:https://github.com/apache/netbeans/pull/2719
- 修复全局值的处理:https : //github.com/apache/netbeans/pull/2639
- 修复 npm 徽标大小:https : //github.com/apache/netbeans/pull/2632
C++ Lite
- 完成CPPLite debugger:线程、变量、监视、工具提示等:https://github.com/apache/netbeans/pull/2697
- 在 cpplite debugger 中更正断点功能:https : //github.com/apache/netbeans/pull/2726
Library Upgrades
- FlatLaf 从 0.31 到 1.0:https : //github.com/apache/netbeans/pull/2693,https : //github.com/apache/netbeans/pull/2723和https://github.com/apache/netbeans/拉/ 2760
- Groovy 从 2.5.11 到 2.5.14:https : //github.com/apache/netbeans/pull/2644
- JAXB 从 2.2 到 2.3:https : //github.com/apache/netbeans/pull/2586
- 从 5.5.1 到 5.7.0 的 JGit:https : //github.com/apache/netbeans/pull/2580
- 从 2.3.1 到 2.4.4 的 Metro:https://github.com/apache/netbeans/pull/2526
- 从 4.12 到 4.13.1 的 JUnit:https : //github.com/apache/netbeans/pull/2463/files
General Code Cleanup
- 启用泛型的使用:https : //github.com/apache/netbeans/pull/2194
- 清理 Enterprise Web.Monitor 模块中的导入:https : //github.com/apache/netbeans/pull/2608
- 清理向量原始类型警告:https : //github.com/apache/netbeans/pull/2611