Idea 8, javascript intellisense

I using ExtJS which is a large javascript library. Does idea 8 support intellisense with external javascript files? Also, I can't find much docs on the javascript integration. Not much in help, and a very short marketting piece with the top 7 new JavaScript features.

Thanks

5 comments
Comment actions Permalink

Hi Peter, IDEA 8 supports ExtJS a lot, such as namespace, code completion and so on. I think you should take a look at JSdoc, and it can help code completion much easy, and IDEA 8.0 supports JSDoc. I have created an ExtJS application in IDEA 8.0, and demo site is

0
Comment actions Permalink

I still don't see how to create a IDEA project for my javascript and html file (no serverside technology). I want the JavaScript files I write to have intellisense with extJS (just .js files)

0
Comment actions Permalink

Hi Peter, please create a project and take a try. You just need to put ext-base.js and ext-all.js into project folder, and all will be fine. A suggestion, you should use a ExtJS source file with JSDoc in it, and you can view jsdoc much easy. Please take a look at attachments.



Attachment(s):
ext_method_code_completion.png
jsdoc.png
0
Comment actions Permalink

Very happy to see it is possible! I love IDEA.

What are the steps to create a project that uses my own web server (I don't want tomcat or anything else). I want to create a project that has just html files and .js files. I tried creating a project (it made me choose java type project), but then when I tried to create directories, nothing happened (it did not show them). Can I my own web server? That is, I want to use IIS running as http://localhost/MyProj.

0
Comment actions Permalink

You can create a project to organize your files, then modify your web server and create a virtual directory pointed to project's folder. Otherwise you can create a directory in web server's published directory, and use this directory as IDEA's project folder. I think you should take a look at IDEA's tutorial before you start it.

0

Please sign in to leave a comment.