History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3766
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Bernard Sumption
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

An editor for sub-parts of javascript files

Created: 19 Jul 06 15:59   Updated: 18 Oct 06 20:36
Component/s: Code Navigation
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 5,383


 Description  « Hide
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!



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.