-
Notifications
You must be signed in to change notification settings - Fork 1
IntelliJ IDEA
Oleh Astappiev edited this page Oct 16, 2023
·
1 revision
- It is one of the most powerful IDE with a lot of benefits over Eclipse
- You can obtain a license for free as a student or teacher
(You need to have@*.uni-hannover.de
email address or any other of supported) - Download IntelliJ IDEA Ultimate
-
Most configuration already exists in the project directory and IDE will load it automatically.
-
Open the project using IDE
File => Open...
and select the project directory -
Wait for indexing to finish
-
Right-click on project root in a tree (
Learnweb
) and selectMaven -> Reimport (Or Import)
(you can enable auto-import) -
Right-click on
package.json
file and selectRun 'npm install'
. -
Update "Run configuration" (The configuration already exists, we just need to choose a server)
- In Run configuration (right top corner), select "Run locally" from drop down list and press the play button. The select "Edit Configuration" dialog should open automatically
- Find "Application server" selector and click "Configure..." button right to it
- Add new server by selecting Tomcat server directory (same as above)
- Check the name, it should be
Tomcat 11
(and notTomcat 11.0.1
) - Save and configuration
-
Run the project (if it still says Tomcat is not configured, try to restart IDEA)
- RBESort - allows sorting messages in same way Eclipse Resource Bundle do
- CheckStyle - static code analysis to check if Java source code complies with coding rules (CheckStyle is used in Gitlab Pipelines and Maven. You can install this plugin for better integration with IDE).
- SpotBugs - static byte code analysis to look for bugs in Java code (SpotBugs is used in Gitlab Pipelines and Maven. You can install this plugin for better integration with IDE).