Search code examples
javaintellij-ideaideopen-sourceprojects-and-solutions

Edit non-project files in IntelliJ


I've been trying to edit a non-project file using IntelliJ Community Edition 2016.3, and I cannot get around the write only protection.

I do not get a pop-up asking whether I would actually like to edit the non-proj file, as seen in this post: Intelij 15 edit non project files by default

And I've also installed the Non Project Files Unlocker plugin, unfortunately it did not seem to have an impact (yes I restarted the IDE).

If anyone has had the same experience or if someone has a workaround/solution please let me know. All suggestions are appreciated!

Thanks!


Solution

  • --> Create new IntelliJ project (for the 'non-project' file), edit the code, build that code using maven, open original intelliJ project, and the desired file is updated.