更新时间:2023-11-30 19:40:04
当项目具有JS资源时,8.0.2也有同样的问题超过了NetBeans 8.0.2附带的原始版本.
Having the same issue with 8.0.2 when a project has JS resources I tracked it down in my case to a problem with the javascript2 editor module which has been updated over the original version shipping with netbeans 8.0.2.
我只是通过删除更新的模块来解决它.
I simply solved it by removing the updated module.
在Linux上:
rm ~/.netbeans/8.0.2/modules/org-netbeans-modules-javascript2-editor.jar
但是,在让netbeans更新程序第二次下载该模块之后,该问题不再出现.
However, after letting the netbeans updater download the module a second time, the problem didn't appear again.
在Netbeans 8.1中,此文件的位置在: ide/modules/org-netbeans-modules-javascript2-editor.jar.
In Netbeans 8.1, the location of this file is at: ide/modules/org-netbeans-modules-javascript2-editor.jar.