IntelliJ IDEA 13.1.0 Web Help

If a file is read-only, it is marked with the closed lock icon uiStatusLock.png in the Status bar, in its editor tab, or in the Project tool window. If a file is writable, then it is marked with the open lock icon uiStatusUnlock in the Status bar. This section describes how to change read-only attribute of a file.


If a read-only status is set by a version control system, it's suggested that you use IntelliJ IDEA version control integration features. For more information, see Version Control with IntelliJ IDEA.

To toggle read-only attribute of a file
  1. Open file in the editor, or select it in the Project tool window.
  2. Do one of the following:
    • On the main menu, choose File | Make File Read-Only, or File | Make File Writable.
    • Click the lock icon in the Status bar.

See Also


Web Resources: