在IntelliJ中编辑非项目文件 [英] Edit non-project files in IntelliJ

查看:993
本文介绍了在IntelliJ中编辑非项目文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用IntelliJ Community Edition 2016.3编辑非项目文件,但是我无法绕过只写保护.

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.

我没有看到一个弹出窗口,询问我是否真的要编辑非proj文件,如这篇文章所示:

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

而且我还安装了Non Project Files Unlocker插件,不幸的是它似乎没有影响(是的,我重新启动了IDE).

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!

谢谢!

推荐答案

->创建新的IntelliJ项目(针对非项目"文件),编辑代码,使用Maven构建该代码,打开原始的intelliJ项目,并更新了所需的文件.

--> 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.

这篇关于在IntelliJ中编辑非项目文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆