I am having problems with Intellij indexing taking a long time. The reason seems to be that I am using Sencha ExtJS javascript library and because the project has to contain all of the source(about 10000 files) these are getting added to the index. With some four different projects each with a copy - you can imagine the problem. As files are globally indexed by Intellij and not per project, this is causing problems.
It seems to state that you can exclude a folder by using mark directory as excluded. However this excludes the files from deployment and VCS - not something I want to do. As during development these are linked directly, if they are not deployed, the code does not work. Also as there are different versions of the libraries I am keen to keep them in source control so that the project when checked out contains the correct version.
Others have found the same issue in here so I am wondering if anyone has found a better solution