NetBeans IDE: Is there a way to make files read-only or lock the contents?
问题 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