automatically configure project resource in intellij?

LabKey Support Forum (Inactive)
automatically configure project resource in intellij? Ben Bimber  2011-09-19 05:12
Status: Closed
 
in intellij, under File->Settings->Resources, in the 'configure external resources' section you can enter the URI and file-location for the XSD files used in the various XML files. this is very useful b/c intellij can autocorrect and autocomplete; however, it has always been a very manual process. further, every time i switch labkey versions I need to redo it, since file paths might change (say i have 2 copied check out).

is there a better way to do that? thanks in advance.
 
 
jeckels responded:  2011-09-20 09:54
Hi Ben,

Unfortunately, IntelliJ stores the paths for these files under your home directory, not as part of the project/module configuration. The file is <USER_HOME>/.IntelliJIdea90/config/options/other.xml, or its equivalent in different IntelliJ versions.

What I typically do is have the trunk checked out into C:\labkey. I point the resources at that directory. I'll check out the branches as C:\labkey11.1. C:\labkey11.2, etc. I end up with all of the different versions pointing at the same version of the XSD files, but it's typically close enough to make it all work well.

Thanks,
Josh