How can I force to remember xsd schema without manual resetting

I often wirte xsd schemas.
Then, when I write xml by some schema, I need to open dialog "Manually setup external resources". In that dialog I map xsd file to namespace.
This makes Idea to validate xml by xsd.

The problem is that I often move xsd files to another folders. When xsd file is moved, resource mapping becomes invalid.

Is there a way to get rid of it?

I mean one of 2 ways:
1) some setting in IDEA that makes IDEA fix resource mapping when xsd file is moved
2) some lines in xsd or xml that makes IDEA to see xsd without mapping it mannually.

I use IDEA 9.0.2.

Please sign in to leave a comment.