You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by Bob Schellink <sa...@gmail.com> on 2009/07/20 23:15:22 UTC

[ClickIDE] Navigate to JavaScript/Css files

ClickIDE provides a very useful feature where one can jump between the Page 
template and Page class.

Now Click 2.1.0 introduces the JsImport and CssImport constructs:

   new JsImport("/assets/js/xyz.js");
   new CssImport("/assets/css/style.css");

Was wondering if it is possible (with Eclipse RCP) to somehow navigate to the 
JavaScript and CSS files above?

Perhaps by holding down ctrl and clicking inside the String "/assets/js/xyz.js" 
EclipseIDE could detect if the String is a template on the servlet path and open it?

Not sure how difficult this is (or even if its possible) but could be a handy 
feature.

bob

Re: [ClickIDE] Navigate to JavaScript/Css files

Posted by Naoki Takezoe <ta...@gmail.com>.
Hi Bob,

It seems good! I think it's possible.
I raised an issue on JIRA:
https://issues.apache.org/jira/browse/CLKE-33

Thanks for your advice!

2009/7/21 Bob Schellink <sa...@gmail.com>:
> ClickIDE provides a very useful feature where one can jump between the Page
> template and Page class.
>
> Now Click 2.1.0 introduces the JsImport and CssImport constructs:
>
>  new JsImport("/assets/js/xyz.js");
>  new CssImport("/assets/css/style.css");
>
> Was wondering if it is possible (with Eclipse RCP) to somehow navigate to
> the JavaScript and CSS files above?
>
> Perhaps by holding down ctrl and clicking inside the String
> "/assets/js/xyz.js" EclipseIDE could detect if the String is a template on
> the servlet path and open it?
>
> Not sure how difficult this is (or even if its possible) but could be a
> handy feature.
>
> bob
>



-- 
Naoki Takezoe