IntelliJ IDEA 13.1 Web Help

Different version control systems have different semantics for the action of removing read-only status from a file so that you can edit it. Some systems never put read-only status on local files at all unless specifically configured to do so (i.e. the system is configured to support the file locking model).

Different version control systems use different names for this action: check out, edit, Open for Edit, or Get. Regardless of the terminology used by your VCS, if it sets read-only status on your local working files, you can remove read-only status and make files writeable from within IntelliJ IDEA, which will also take care of setting a lock on the server, or take whatever other action is required by the VCS, via the respective VCS integration.

This behavior is configurable in the General Settings tab of the Version Control dialog.

To enable explicit removal of read-only status
For example, removing read-only status in Perforce looks as follows
  • With the Show "Clear Read-Only Status" Dialog option enabled, an attempt to edit a file brings up the respective dialog box.

    img

    If you click the radio button Using file system, the file will not be added to the default changelist. If you click radio buttonUsing version control integration, the file is added to the default changelist.

Tip

You can make a file writable using the lock icon uiStatusLock.png in the status bar. Open the desired file in the editor, and double-click the lock, as shown below:

img

See Also

Reference:

Web Resources: