We are using IDEA to build a large (1000-1500 class) web application. In order to make it manaegable we split each class into its own file. For fast loading we have an Ant task to concat these files in the correct order into a single file. Because of this, all of the relative references in HTML files are broken because they point to the generated file but IDEA expects them to point to the class source files.
Any solution to this common problem would be welcome. My preferred one would be for the Project view to show javascript files as folders and allow people to open one part of a file at a time, as if it were a seperate file. This should allow nesting. This might be achieved by putting magic comments in the source code like this:
//#IDEA-virtual-file:foo.js/folder1/folder2/ClassName.js
This would cause foo.js to appear as a folder, with 2 nested folders within it, and a file ClassName.js at the lowest level. Clicking ClassName.js would either open just that section of the file in its own window, or perhaps open the whole foo.js file but scroll to the correct location.
What do you think?
Great product by the way!