pedz <
pedzsan-Re5JQEe...@public.gmane.org> writes:
> This is a suggestion. If folks seem to like it I may take a stab at
> implementing it.
>
> The problem is the typical Rails philosophy is that we separate
> everything into separate files. We put the javascript here, the CSS
> there, the view other yonder. There is no real standard of where folks
> put these three pieces.
>
> I'm thinking it would be nice if we could add comments. e.g. in the
> javascript file we add comments that point us to the view and the CSS
> for that piece. etc. The point is to add a way to layer, on top of the
> existing web of connections rinari already knows about, customizable
> connections between various pieces of code.
>
> Thoughts?
Following the principle of convention over configuration, your js, css
and view files organization probably also follows some project-wide
convention.
In that case, instead of writing magic comments in every file, maybe you
should be able to extend the jump.el specs to new file types and then
use them in existing and new commands.