Problems creating an HTML/JavaScript project (newbie question)

Newbie question... IDEA 7 looks like it has great JavaScript features just waiting to be used, but I can't get past Step One. I'm trying to create an IDEA project with one HTML file, six JavaScript files and a subdirectory full of images. But the new project creation process only gives me three options for project type: Java Module, Plugin Module or J2ME Module. If I pick Java Module it leads to questions that don't make sense for a web project - like where the JDK is (I answer that I have none) - and it creates a project without my files. I can then copy my files into the src directory and they show up in the project tree, but that seems wrong. I have all the bundled JavaScript plugins including "JavaScript Support" enabled. Thanks for any advice!
- Jack

2 comments
Comment actions Permalink

Hi!
IDEA doesn't have plain Web module type for HTML, JS and CSS only, so i usually create a Java module with JDK (or without, doesn't really matter), without source folder and then create a folder for html in the module and work.

0
Comment actions Permalink

Thanks, I did this and it didn't cause major problems, except that I just wish there were a way to tell IDEA which files are in the project rather than it assuming every file in the folder (even text files, temp files, etc.) is part of the project.

0

Please sign in to leave a comment.