NetBeans 8.1 IDE 发布,该版本除了关注最新的 Java 技术,还有增加了用于 HTML5/JavaScript 的工具。主要更新如下:
Node.js 应用开发
New Node.js project wizard
New Node.js Express wizard
Enhanced JavaScript Editor
New support for running Node.js applications
New support for debugging Node.js applications
HTML5/JavaScript 增强
New support for Gulp
New support for Mocha and Selenium
New Jade Node Template Engine support
New Shadow DOM support via NetBeans Chrome plugin
Enhanced support for Grunt
Enhancements for AngularJS and KnockoutJS
Projects recognized via package.json, bower.json, composer.json
Java 增强
Enhanced Code Completion("intellisense")
More expressive Navigator shows overridden & implemented methods
Enhanced ordering rules in Options window
Performance improvements for Java navigation tools:
"Go To Type" (Ctrl-O)
"Go To File" (Alt-Shift-O)
"Go To Symbol" (Ctrl-Alt-Shift-O)
"Find Usages" can include dependencies (details)
Java EE 增强
Support for remote Oracle WebLogic Server
Community contributed support for WildFly 9 and WildFly 10
PHP 增强
New support for Phing
Enhanced integration with Composer
Code coverage added to Nette Tester
New Symfony installer integration
C/C++ 增强
New mixed C++/Java development support
Enhancements to New Project Wizard
SVN, Git and Mercurial support in Remote mode
C++ Editor enhancements
New audits, hints and refactorings
Reverse engineering (Call Graph) enhancements
Profiler 重新设计和改进
Redesigned user interface
New features:
Live forward and reverse call trees in CPU results
Live allocation trees in Memory results
Monitoring CPU utilization
Thread dumps from profiled application
Engine improvements:
Faster connection to profiled application
Limited outgoing calls from profiled methods
Memory profiling for selected classes
Simplified profiler setup
Improved integration into the IDE
其他
Enhancements to Git support
JRE bundled with the following NetBeans bundles:
HTML5/JavaScript
PHP
C/C++
更多内容请查看:发行说明
引用来自“webit”的评论
@乔老爷 工具》选项》编辑器》代码完成》语言:Java> 打钩“键入任何Java 标识符。。。” 对于JavaScript 同理引用来自“乔老爷”的评论
你好还想咨询下,你用nb在输入中文时显示乱码么???我在输入中文,只有字体选择 Monospaced才会正常显示,如果其它字体就会显示乱码,不知你是怎么结局的??8.0.2 8.1都有此情况。【解决方案】只需要找一个 等宽的 包含中英文的字体 就可以了
【具体方法】1. 百度“YaHei Consolas Hybrid” 下载并安装;2. 如果已经启动Netbeans,重启Netbeans 3.字体和颜色》语法》所有语言》默认》选择字体“YaHei Consolas Hybrid”
【关于 YaHei Consolas Hybrid】 这是第三方制作的 微软雅黑 + Consolas 的等宽字体
引用来自“webit”的评论
@乔老爷 工具》选项》编辑器》代码完成》语言:Java> 打钩“键入任何Java 标识符。。。” 对于JavaScript 同理引用来自“lishaorui”的评论
从RC到正式版,才几天,这速度引用来自“webit”的评论
@乔老爷 工具》选项》编辑器》代码完成》语言:Java> 打钩“键入任何Java 标识符。。。” 对于JavaScript 同理引用来自“乔老爷”的评论
这么熟悉,你也用着nb?引用来自“webit”的评论
@乔老爷 工具》选项》编辑器》代码完成》语言:Java> 打钩“键入任何Java 标识符。。。” 对于JavaScript 同理引用来自“binshell”的评论
模板字符对不齐,之前的版本没有这个问题引用来自“binshell”的评论
发现原因,注释中/* 和/**有毛的区别,搞得字符对不齐/*就没有上面那种效果了,就是多行注释而已。
比如下面的代码
var o = {
// 注释1
a:1,
// 注释2
b:2
}
格式化后就变成了:
var o = {
// 注释1
a:1,
// 注释2
b:2
}
引用来自“binshell”的评论
模板字符对不齐,之前的版本没有这个问题引用来自“MLeo”的评论
难道没有人说它好用的………………引用来自“叫我刀刀”的评论
其实还挺不错的,不知道为啥没有超越idea引用来自“小99”的评论
必须要And yes, you still could have overflow issues if the whole "hlen +
xyz" expression overflows, but quite frankly, the "overflow_usub()"
code had that too. So if you worry about that, then you damn well
didn't do the right thing to begin with.
```
PR的代码也没有解决溢出的问题。
```
Yes, yes, if this had stayed inside the network layer I would never
have noticed. But since I *did* notice, I really don't want to pull
this. In fact, I want to make it clear to *everybody* that code like
this is completely unacceptable. Anybody who thinks that code like
this is "safe" and "secure" because it uses fancy overflow detection
functions is so far out to lunch that it's not even funny. All this
kind of crap does is to make the code a unreadable mess with code that
no sane person will ever really understand what it actually does.
```
他是觉得使用这种溢出检测函数的方式并没有真实的解决问题,而且会导致代码可靠性和可读性降低。