yogendra / ivyidea

Automatically exported from code.google.com/p/ivyidea
0 stars 0 forks source link

Don't put empty IvyIDEA config data in .idea/misc.xml #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have the IvyIDEA plugin installed and I use it for one of my IDEA projects.  
But IvyIDEA puts empty config info into the ".idea/misc.xml" file for all my 
projects.  It looks like:

   <component name="IvyIDEA.ProjectSettings">
     <option name="artifactTypeSettings">
       <ArtifactTypeSettings />
     </option>
     <option name="propertiesSettings">
       <PropertiesSettings />
     </option>
   </component>

I don't want to insert IvyIDEA XML into projects that don't use it (we share 
our IDEA project files and keep them under version control).

Could IvyIDEA be changed to not write any XML into the ".idea/misc.xml" folder 
if IvyIDEA is not being used for the project?

Original issue reported on code.google.com by kan...@cakoose.com on 7 Jan 2013 at 6:38

GoogleCodeExporter commented 9 years ago
Would it be possible to not put these settings in .idea/misc.xml in the first 
place? Many other plugins (for example 
https://github.com/jshiell/checkstyle-idea) maintain a separate 
.idea/myplugin.xml file.

Original comment by jackrabb...@gmail.com on 6 Jul 2015 at 6:32

GoogleCodeExporter commented 9 years ago
If it went into ".idea/myplugin.xml", it would be easier to exclude using 
".gitignore" (or ".hgignore" or whatever), but I still don't think that's ideal.

A repo's ignore files are shared among all users.  I don't to add entries for 
whatever plugins I happen to have on my local copy of IDEA.

I'd be ok with the plugin switching to use a different file, but in that case, 
please don't create the file if the plugin isn't actually being used.

Original comment by kan...@cakoose.com on 6 Jul 2015 at 9:39