Difference between revisions of "IntelliJ IDE"

Line 111: Line 111:
 
* Glassfish
 
* Glassfish
 
* JSR45 (=== JSPs)
 
* JSR45 (=== JSPs)
 +
 +
 +
==Featured plugins==
 +
 +
[[File:Intellij featured plugins.png|800px|IntelliJ Featured Plugins]]
 +
 +
 +
If you want to do some web development, then you should really install ''nodeJs'' and ''Live Edit Tool''!
 +
 +
 +
 +
=Configuration=
 +
 +
You can access the configuration from the launcher screen: ''Configuration → Settings''.
 +
 +
 +
==Settings==
 +
 +
 +
===IDE settings===
 +
 +
Settings → Appearance and Behavior → Appearance
 +
* Show memory indicator
 +
 +
[[File:Intellij featured plugins.png|800px|IntelliJ Featured Plugins]]
 +
 +
 +
 +
Settings → Editor → '''General'''
 +
* Change font size (Zoom) with Ctrl+mouse wheel
 +
 +
[[File:Intellij editor general settings.png|800px|IntelliJ general settings]]
 +
 +
 +
 +
Settings → Editor → '''Appearance'''
 +
* Show line numbers
 +
* Show breadcumbs for XML files
 +
 +
[[File:Intellij editor appareance settings.png|800px|IntelliJ Appearance settings]]
 +
 +
 +
 +
Settings → Editor → '''Editor tabs'''
 +
* Mark modified tabs with aterisk
 +
 +
[[File:Intellij editor editor tabs settings.png|800px|IntelliJ editor tabs settings]]
 +
 +
 +
 +
===Maven settings===
 +
 +
Settings → Build, Execution, Deployment → Maven
 +
* Force check of snapshots
 +
* Set Maven home directory
 +
* Set Maven settings file
 +
 +
[[File:Intellij maven settings.png|800px|IntelliJ maven settings]]
 +
 +
 +
 +
===Application servers===
 +
 +
Adjust your Application Servers path and settings.
 +
 +
 +
 +
===Languages & frameworks===
 +
 +
Set your '''JavaFX''' scene builder home.
 +
 +
As a reminder, you can download scene builder from Oracle: http://www.oracle.com/technetwork/java/javase/downloads/javafxscenebuilder-info-2157684.html

Revision as of 15:55, 14 November 2014



Requirements

IntelliJ requires a Java JDK to work, see Java JDK setup.



Installation

Get binaries

Download IDEA IntelliJ from the official website: https://www.jetbrains.com/idea/

Take the IntelliJ Ultimate Edition version.


Linux

  • Download the IdeaU-xxx.tar.gz' package
  • Copy the package into your dev directory
  • Launch the application
tar -xzvf IdeaU-xxx.tar.gz
cd Idea-IU-xxx/bin
./idea.sh &


First launch configuration

During first launch you'll be ask a bunch of questions. The first are easy, then you'll to configure your environment. Here are my settings:


Tune your IDEA

IntelliJ tune IDEA


Global points:

  • Build tools  : enable ALL
  • Cloud  : only if required
  • Swing  : DISABLE
  • Android  : only if required
  • Plugin development : DISABLE


Java Frameworks

IntelliJ Java Frameworks


  • J2EE
  • Hibernate
  • Grails
  • GWT
  • Spring
  • AspectJ


Web development

IntelliJ Web Frameworks


All but:

  • HAML
  • Flash/Flex


Version control

IntelliJ version controls


At least enable:

  • GitHub
  • Subversion
  • Git


Test tools

IntelliJ test tools


  • jUnit
  • TestNG-j
  • Coverage


Application servers

IntelliJ Application Servers


  • Application servers view
  • jBoss
  • Tomcat and TomEE
  • Glassfish
  • JSR45 (=== JSPs)


Featured plugins

IntelliJ Featured Plugins


If you want to do some web development, then you should really install nodeJs and Live Edit Tool!


Configuration

You can access the configuration from the launcher screen: Configuration → Settings.


Settings

IDE settings

Settings → Appearance and Behavior → Appearance

  • Show memory indicator

IntelliJ Featured Plugins


Settings → Editor → General

  • Change font size (Zoom) with Ctrl+mouse wheel

IntelliJ general settings


Settings → Editor → Appearance

  • Show line numbers
  • Show breadcumbs for XML files

IntelliJ Appearance settings


Settings → Editor → Editor tabs

  • Mark modified tabs with aterisk

IntelliJ editor tabs settings


Maven settings

Settings → Build, Execution, Deployment → Maven

  • Force check of snapshots
  • Set Maven home directory
  • Set Maven settings file

IntelliJ maven settings


Application servers

Adjust your Application Servers path and settings.


Languages & frameworks

Set your JavaFX scene builder home.

As a reminder, you can download scene builder from Oracle: http://www.oracle.com/technetwork/java/javase/downloads/javafxscenebuilder-info-2157684.html