javascript refactoring with IDEA 7.0.4 and intellisense

With IDEA 7.0.4, can I refactor in javascript? I want to be able to extract methods to external files as well as other stuff. What I see seems very minimal.

Also, how can I get intellisense for external javascript files?

Thanks

4 comments
Comment actions Permalink

bump.. mostly want help on intellisense with external js files that may themselves not reference the libraries I want. I Microsoft vs, they do it by having a line at the top of your file like this:

/// /// /// ]]>

Is there a smilar thing to do in IDEA?

0
Comment actions Permalink

Create module with javascript libraries and add it as dependency for the
module you want the library classes to be accessible

Peter Kellner wrote:

bump.. mostly want help on intellisense with external js files that may themselves not reference the libraries I want. I Microsoft vs, they do it by having a line at the top of your file like this:

/// <reference path="../VEJS/VeJavaScriptIntellisenseHelper.js" />
/// <reference path="../ExtJS/adapter/ext/ext-base.js" />
/// <reference path="../ExtJS/ext-all-debug.js" />

Is there a smilar thing to do in IDEA?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

with Idea 8, can you give me a step by step to create the JavaScript Module? I'm making stand alone javascript project with no server dependency. Just JavaScript files launched from html files.

THanks

0
Comment actions Permalink

There is no special JavaScript module type, you need to create any, say,
say Java module and continue with that. Btw, extract method is not
implemented yet.

Peter Kellner wrote:

with Idea 8, can you give me a step by step to create the JavaScript Module? I'm making stand alone javascript project with no server dependency. Just JavaScript files launched from html files.

THanks



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.