Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit, rather than overrwrite, .idea/misc.xml #29

Closed
retronym opened this issue Nov 13, 2010 · 4 comments
Closed

Edit, rather than overrwrite, .idea/misc.xml #29

retronym opened this issue Nov 13, 2010 · 4 comments

Comments

@retronym
Copy link
Contributor

Currently I need to revert changes made to .idea/misc.xml each time I re-run 'idea' to preserve manually entered project configuration that ends up in this file.

This is easy to forget, and requires a second project reload.

RewriteRule and RuleTransformer might be useful to implement this: http://stackoverflow.com/questions/970675/scala-modifying-nested-elements-in-xml/1306415#1306415

@mpeltonen
Copy link
Owner

I knew this would come up sooner or later :) But yes, preserving files would be much better approach and now we have someone actually needing that. And thanks for the RewriteRule/RuleTransformer tip! Wasn't aware of those.

@ijuma
Copy link
Contributor

ijuma commented Nov 13, 2010

Indeed, this file seemed like a potential issue when I converted the code to use the directory-based format. If I recall correctly, it was the only file that seemed to include more things than what the plugin would configure.

@mpeltonen
Copy link
Owner

This is now implemented in master. Test 0.2-SNAPSHOT and see if it works for you.

@mpeltonen
Copy link
Owner

Closing.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants