Changing Read-Only Status of Files
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 WebStorm, 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.
You can make a file writable using the lock icon in the status bar. Open the desired file in the editor, and double-click the lock, as shown below: