Handle modified without checkout files
Install the Perforce plugin
This functionality relies on the Perforce plugin, which you need to install and enable.
Press Ctrl+Alt+S to open settings and then select .
Open the Marketplace tab, find the Perforce plugin, and click Install (restart the IDE if prompted).
If you are going to modify or delete a file under Perforce version control, the read-only status of such file should be removed. IntelliJ IDEA takes care of automatically making files writable. However, you can change read-only status manually, which may happen in a number of ways; for example:
With the Clear Read-Only Status option enabled, you make a file writable using a file system.
When a read-only file is opened in the editor, you double-click lock icon
in the status bar.You remove read-only attribute externally, using file properties.
In these cases, the file gets status Modified without checkout and appears in the Commit window.
To resolve 'modified without checkout' files
In the Commit window, expand Modified without Checkout node, and select the desired file.
From the context menu of the file, choose Check Out. The file becomes writable, and moves to the active changelist.