Non-Project Files Protection dialog
This dialog appears when you try to edit non-project files: library sources, external sources and so on. Such files are intentionally protected from modification. For example, it is not recommended that you change library classes as you are supposed to reuse them as is.
If you want to work with these files, add them to the content root. A content root in RubyMine is a folder that contains your source code, build scripts, unit tests, and documentation. In the Project tool window, this folder is marked with the icon.
If you want to edit these files only once without adding them to your project, use one of the options in the dialog.
This file: select this option to disable protection for the file or files.
All files in this directory: select this option to disable protection for the listed files and all files in the same directory.
Any non-project file: select this option to disable protection.
Item | Description |
---|---|
These files do not belong to the project | This area displays a non-project file that you are trying to edit. |
I want to edit this file anyway | Select this option to disable protection for the listed files. |
I want to edit all files in this directory | Select this option to disable protection for the listed files and all files in the same directory. |
I want to edit any non-project file in the current session | Select this option to disable protection completely. |
All options are effective during the current session. Once the IDE is restarted, protection will be re-enabled. Also, you cannot change your decision for a particular file within the current session.