Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a static web project in IntelliJ Idea 13?

I would like to use IntelliJ Idea 13 (community edition preferably, but I would also like to know if this is only available in the professional edition) instead of WebStorm. The answer (written by a JetBrains official as far as I understand) to this question sound like it is possible, it says (if I understand it right) all the functionality of Idea derivatives like WebStorm is is available in Idea plug-ins. But I still can't find the right plug-in to create static (HTML+CSS+JS code, no Java) web projects. If I try to open a WebStorm project Idea says it doesn't understand "WEB_MODULE" module type. What do I have to I set-up?

like image 672
Ivan Avatar asked Jan 26 '14 13:01

Ivan


People also ask

How do I create a static Web in IntelliJ?

Populate the Web module: create the required Java classes, configure servlets, filters, listeners, and references. Configure the required static Web content resources. Configure Web application deployment. Deploy and run the application.

How do I create a simple web project in IntelliJ?

IntelliJ IDEA includes a dedicated wizard for creating Java Enterprise projects based on various Java EE and Jakarta EE implementations. In this tutorial, we will create a simple web application. From the main menu, select File | New | Project. In the New Project dialog, select Jakarta EE.

How do I create a webapp folder in IntelliJ?

Create a new web applicationClick New Project on the Welcome screen or select File | New | Project. From the Generators list, select Jakarta EE. Name the new project, select a build tool, a language you want to use, and select the Web application project template.


2 Answers

For those using IntelliJ IDEA 14.x.x Community Edition, the "Static Web" option in Projects or Modules only seems to show up after the Phonegap/Cordova Plugin has been installed (Settings->Plugins->Browse repositories).

like image 75
alexkb Avatar answered Sep 17 '22 09:09

alexkb


As Andrey mentioned, HTML+CSS+JS support is only provided in Idea Ultimate. No additional plugins have to be installed (unless you need Vue.js support or like to use Live Edit - these plugins, along with some others, are not bundled with Idea and have to be installed from the repository (Preferences | Plugins))

like image 30
lena Avatar answered Sep 21 '22 09:09

lena