NetBeans IDE: Is there a way to make files read-only or lock the contents?

╄→гoц情女王★ 提交于 2020-01-15 05:29:06

问题


In the Netbeans IDE, is there a way to make a file read-only or prevent the file's contents from being edited, even though the file is part of a project as source code, a test package, or a data file?

PLEASE NOTE: I know a version control system should be used for any kind of project, and I diff any file with the version control copy before committing the changes to the repository; I'm just wondering if there's a way to "lock" a file in this editor/IDE.


回答1:


After further research, this feature appears to have been added as an add on:

http://plugins.netbeans.org/plugin/23133/switch-file-read-write-access

http://kenai.com/projects/file-rw-switcher/pages/Home



来源:https://stackoverflow.com/questions/14288668/netbeans-ide-is-there-a-way-to-make-files-read-only-or-lock-the-contents

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!