IntelliJ IDEA
 
Get IntelliJ IDEA

Read-only files

Last modified: 22 November 2024

If a file is read-only, it is marked with the closed lock icon the Locked icon in the status bar. If a file is writable, it is marked with the open lock icon the Unlocked icon.

Library files in IntelliJ IDEA are normally read-only by default as the code from them should be used as is. For such files, you will not see the lock icon in the status bar. IntelliJ IDEA applies Reader mode to library files by default.

If a read-only status is set by a version control system, it is suggested that you use IntelliJ IDEA version control integration features. For more information, refer to Version control.