Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
IntelliJ IDEA Essentials
IntelliJ IDEA Essentials

IntelliJ IDEA Essentials: Quickly get up and running with this practical IntelliJ IDEA tutorial guide, for developing better software faster

eBook
$25.99 $28.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

IntelliJ IDEA Essentials

Chapter 1. Get to Know Your IDE, Fast

In this chapter, we will compare IntelliJ IDEA editions and licenses, install the tool, and quickly introduce the main workspace. IntelliJ IDEA comes with many settings; it is not possible to cover all of them in one book so we will focus on the most important ones. We will cover the following topics in this chapter:

  • Comparing the various editions
  • Installing the tool
  • Workspace overview
  • IDE settings
  • Configuration tips and tricks

Comparing the various editions

IntelliJ IDEA is available as a free Community Edition and full-fledged Ultimate Edition. From the licensing point of view, the good thing is you can use both editions to develop the software you want to sell. It is worth mentioning that the new Android Studio that is used for the development of mobile Android applications is also based on IntelliJ IDEA.

The detailed comparison table can be found on the JetBrains website: http://www.jetbrains.com/idea/features/editions_comparison_matrix.html. To cut a long story short, there are many features missing in the Community Edition, but there are some workarounds available if you look close enough. For example, when you want to use Tomcat or Jetty servers in the Community Edition, you can use Maven plugins to run and debug your web applications freely. We will discuss this in Chapter 5, Make It Happen – Running Your Project.

You can use the Community Edition to develop applications using many frameworks such as Play, Struts, or Spring. It's all Java, after all. The IDE will not assist you in that. Most of the configuration hints, warnings, autocompletion, and runtime configuration features will be unavailable.

The Ultimate Edition, on the other hand, is the full-featured commercial IDE. You have the full support of almost all of the modern frameworks and application servers. The IDE will assist you by providing code completion, hints, and diagrams. The language support in this edition is also more comprehensive; you will get HTML and scripting languages analysis available on the fly, for example.

Apart from the provided features, the Ultimate Edition can be categorized based on the license. Depending on your needs, you can purchase any of the following licenses:

  • Commercial license: IntelliJ IDEA can be used by any developer in your company but the total number of concurrent users cannot exceed the number of purchased licenses.
  • Personal license: IntelliJ IDEA can be used only by the person who purchased it. You can use it on as many computers as you own, as long as you are the only user. The Personal license, of course, can also be used to develop commercial products.

Additionally, there are some licensing options and discounts based on the target audience, for startups, students, and teachers, for education or training, and finally, for open source projects.

Tip

When you decide to buy the Ultimate Edition, sometimes it is wise to wait till the holidays, for example, Christmas or Easter. The JetBrains team usually provides some discounts on their products then.

Installing IntelliJ IDEA

Installing IntelliJ IDEA is straightforward. Perform the following steps:

  1. Go to http://www.jetbrains.com/idea/download/.
  2. Pick the OS version and edition of your choice.
  3. After opening the downloaded installation package in MS Windows, you should see the installation wizard. In Mac OS, double-click on the downloaded .dmg file and then just drag IntelliJ IDEA to the Applications folder.

    Tip

    When you install IntelliJ IDEA over an existing installation, the installation wizard will ask if you want to import settings from the previous set up. Don't worry, your settings will be preserved.

During the first startup, IntelliJ IDEA will ask you which plugins should be enabled by default. Usually, it's best to enable only what you need, so the IDE loads and works faster with fewer plugins enabled. Don't worry if you don't know what to select; you can always change your mind later by editing the IDE settings. On the first startup, you will not be able to see the workspace without the project opened. While we will go through the details of creating the project in the next chapter, you can now just create the basic Java project by choosing New Project from the File menu, selecting Java, and proceeding with the New Project wizard by clicking on Next a couple of times.

An overview of the workspace

Basically, the workspace in IntelliJ IDEA consists of the main editor with tabs, menus, and many tool windows.

Tool windows

The tool windows are hidden, by default, in Version 13 and later of IDEA. You can toggle them on and off using the button in the bottom-left corner of the screen:

Tool windows

Tool windows are those little "tabs" visible at the edges of the workspace. These edges are called tool window bars, as shown in the following screenshot:

Tool windows

Some of the tool windows are always available, such as Project or Structure, while some of them are available only when the corresponding plugins are enabled.

You can arrange the order of the tool windows by dragging them with your mouse. You can drag the tool window to other screen edges as well.

Tip

There's a fourth tool window bar available at the top of the screen, which is hidden. Just drag any tool window to the top of your workspace to use it, as shown in the following screenshot:

Tool windows

View modes in tool windows

The tool windows have a context menu available when you right-click on them. The context menu contains items specific to a particular tool window and some possible view modes, as shown in the following screenshot:

View modes in tool windows

Pinned Mode

The pinned tool window will stay open even when it becomes inactive by losing focus. You may prefer to have the Project tool window pinned to have a constant overview of the project structure. Only docked windows can be pinned. On the other hand, you can keep the project view closed almost all the time and simply use the keyboard shortcuts to navigate. On large projects, this approach is much faster than searching the tree manually for your file.

Docked Mode

When docked, the tool window will share the total workspace area with other workspace elements such as the editor. On the other hand, when undocked, the tool window will overlap the other workspace elements when resized. An undocked window will go away if inactive. For example, it is especially useful to have the console tool window undocked and resized; reading huge logfiles or console output will be a lot easier.

Floating Mode

Floating, as the name suggests, allows the tool window to float over the workspace and be detached from the screen edges. It may be useful when you work on multimonitor environments with huge display resolutions set. There are no limiting factors for the number of floating windows shown simultaneously. When floating, tool windows can be easily arranged to suit your needs.

Split Mode

The tool window will share the tool window bar with other tool windows when it has Split Mode enabled. This gives you the ability to see two tool windows at once. It's nice to see the project structure and file structure at the same time, as shown in the following screenshot:

Split Mode

When you use the Ctrl + left-click (PC) or cmd + left-click (Mac) keyboard shortcuts, the splitter between the two tool windows is displayed at once; IntelliJ IDEA will switch them to the wide screen mode and display them in a horizontal layout. It is priceless when you work on a fancy panoramic display and would like to use the screen space effectively, as shown in the following screenshot:

Split Mode

Tip

You can quickly go to the specific tool window by using the mnemonic shortcut displayed before its name, for example, Alt + 1 (PC) or cmd + 1 (MAC) will take you to the Project tool window. It works for hidden tool windows, too.

Multiple views in tool windows

Some tool windows have more than one view available. For example, the Project tool window can show Project, Packages, or Problems, as shown in the following screenshot:

Multiple views in tool windows

These views can be made visible as separate tabs by selecting Show views as tabs in the tool window context menu:

Multiple views in tool windows

When you have your tool windows set up, it may be a good idea to back up your current layout. You can save the way the tool windows are currently arranged by navigating to Window | Store Current Layout as Default in the main menu. You can always load the saved workspace layout by navigating to Window | Restore Default Layout or pressing Shift + F12.

You can quickly open your last active tool window by using the F12 (PC) or Fn + F12 (Mac) keyboard shortcut. To make this shortcut work on Mac, you first need to adjust the F12 system shortcut behavior in the System Preferences window available in the Apple menu. To quickly hide/unhide all tool windows and focus on the editor, press Ctrl + Shift+ F12 (PC) or cmd + Fn + Shift + F12 (Mac).

Tip

The Esc key will always get you back into the editor.

When switched off, you can temporarily show the tool window bars by pressing the left Alt key (PC) twice or tapping and holding down the left cmd button (Mac). This way, you can switch tool windows swiftly and save screen space at the same time.

Navigating inside the tool window

If the tool window contains a list (and most of them do, actually) to navigate or search inside the tool window, focus on the tool window, and just start typing the search text. It doesn't matter if it is a project or another tool window: IntelliJ IDEA will search for the characters you typed on the fly, as shown in the following screenshot:

Navigating inside the tool window

Tool windows set up for a specific project

There is a very useful plugin you can find in the IntelliJ IDEA plugin repository named ToolWindow manager. We will talk more about installing plugins later in this chapter.

This plugin makes tool window buttons available to be controlled on a per-project basis. It allows the creation of tool window profiles, that is, you can set specific tool windows to be hidden for one project and shown for another. This is the way to keep your IDE clean and tidy.

To access the settings, go to Window | Tool Window Management | Configure Preferred Availabilities from the main menu, as shown in the following screenshot:

Tool windows set up for a specific project

Next, set up preferences for particular tool windows. Select Hide to switch off the specific tool window and Show to turn it on, as shown in the following screenshot:

Tool windows set up for a specific project

Editor tabs

An important part of the workspace is the editor tabs. They represent opened files and have a context menu with file-specific options, such as adding a file to a favorites list or using version control on the file.

Tabs are great to switch files, but there is a drawback here. They occupy some of the editor space when you have many files opened. The limit of the visible tab count can be set by navigating to Settings | Editor | General | Editor tabs (PC) or IntelliJ IDEA | Preferences | Editor | Editor tabs (Mac) dialog box. IntelliJ IDEA autocloses tabs if the tab count exceeds the defined limit. This is a very useful feature to reduce the tab clutter. IntelliJ IDEA will always close the least used tab.

Consider switching tabs off completely. It may sound a little weird at the beginning, but when you develop the habit of using keyboard shortcuts to navigate through opened files, you will not need tabs, and will regain some of the valuable editor space.

Tip

Use Ctrl + E (PC) or cmd + E (Mac) to display the list of opened files. Use Ctrl + Shift + E (PC) or cmd + Shift + E (Mac) to display the list of recently edited files. You can also switch between the last opened files with Ctrl + Tab and Ctrl + Shift + Tab.

Crafting your settings

In the next section, we will discuss the options of the IDE—setting keyboard shortcuts, colors, fonts, and plugins.

Searching for options

The settings dialog is available from the main menu by navigating to File | Settings (PC) or IntelliJ IDEA | Preferences (Mac). You can also use the wrench icon on the toolbar or Ctrl + Alt + S (PC) or cmd + , (Mac) keyboard shortcuts. All of the settings are divided into two groups: one for project-specific settings (such as code style, version control, and so on) and one for global, IDE settings (such as appearance or HTTP proxy, for example).

There are many options here. The good thing is you can use the search field to search for a specific option. Just start typing the option name and the dialog box will be searched from top to bottom to present you the result.

For example, if you introduce a "typo" in the search box, you will be presented with the Inspection project settings, where you can turn the Spelling/Typo inspection option off. In the Editor/Colors & Font/General section, you can change colors for misspelled words.

Setting keyboard shortcuts

IntelliJ IDEA is a keyboard-centric IDE. Any action you can do by using your mouse, you can do by using the keyboard as well.

It's possible to completely redefine default IntelliJ IDEA keymaps to suit your needs. The keyboard shortcuts configuration is available in the Keymap section in the IDE settings.

There are some predefined keymaps available. Whether you come from using Eclipse or NetBeans, you can find your well-known keymap here and apply it. Please note that predefined keymaps are not editable. To modify the keymap, you must create and edit a copy.

When defining a new keyboard shortcut, the Second Stroke keyboard shortcut editor feature is very useful. You can use this to set up double strokes, easy to remember keyboard shortcuts, or even shortcut groups. You can define your base shortcut, such as Ctrl + Shift + O for example, and then numbers as second strokes, as shown in the following screenshot:

Setting keyboard shortcuts

The Abbreviation option in the keyboard shortcut editor is used to quickly find the Search Everything (double Shift) dialog box. The Search Everything dialog box will be discussed in Chapter 3, The Editor.

Colors and fonts

In IntelliJ IDEA, you can change your preferable colors and font's layout for syntax and error highlighting in the editor, search results, debugger, and consoles.

To do this, open Editor and then Colors & Fonts in the IDE settings dialog box.

IntelliJ IDEA comes with some predefined color schemes. You can select one of them, or create your own, and configure its settings to your liking.

Note that you are not allowed to change any of the predefined schemes. If you decide to tweak the existing theme, you have to copy it first. To change the editor font, select Font from the Colors & Fonts section of the IDE settings page.

Note

Many nice color themes can be found at http://www.ideacolorthemes.org.

For example, if you use the Darcula IDE theme, the Obsidian color scheme looks good, as shown in the following screenshot:

Colors and fonts

Tip

There is a truly great font designed especially for developers: Source Code Pro. This font family was created specifically for coding environments—it's very readable. It's available free of charge from Adobe, at GitHub https://github.com/adobe/source-code-pro.

You can download Source Code Pro for Windows, Linux, and OS X as well.

Picking your plugins

The IntelliJ IDEA plugin repository is available on the Internet at http://plugins.jetbrains.com/?idea or from the IDE itself, by going to the Plugins section in the Settings page. Going to the Plugins section in the IDE is more convenient in comparison to the Internet repository. All you have to do is find your plugin, install, and restart the IDE.

To install JetBrains' plugin, click on the Install JetBrains plugin… button. To install a third-party plugin, choose Browse repositories. In the next dialog box, you can filter the available plugins by category, or find a specific plugin just by typing its name.

Tip

You can sort the list of plugins by the download count or rating to see the most popular (and probably the most useful) plugins at the top of the list:

Picking your plugins

To deactivate the installed plugin, uncheck the checkbox next to its name. To uninstall the plugin, use the context menu, but take note that bundled JetBrains plugins cannot be uninstalled from within the IDE, as shown here:

Picking your plugins

Some of the plugins add new languages to the IntelliJ IDEA arsenal. If you develop in a language other than Java, just filter the plugins list using the Custom Languages option. When you install the plugins, the on-the-fly analysis, hints, and refactoring will be available in your IDE. These plugins include, for example, Scala, Python, Ruby, PHP, and many others.

The next huge group of plugins is available when you filter using Framework Integration. There is a big chance you will find support for the framework you use in your project, such as AngularJS or Play, for example.

If you are new to IntelliJ IDEA, there is a plugin that is especially useful called Key promoter. It will show you a banner with the keyboard shortcut for the action you just performed using the mouse. It will help you memorize keyboard shortcuts and quickly become a keyboard ninja:

Picking your plugins

Tip

Use the Key promoter plugin available in the plugins repository to see how easy you can make the same action you just did using your mouse, by only using your keyboard!

Feel free to browse JetBrains and the third-party plugins directory. It's a real gold mine to extend the IDE functionality. Select the plugin, read the description to the right, click on Install, restart the IDE, and you're all set.

Configuration tips and tricks

In this section, you will be presented with some configuration tips, such as sharing settings and tuning IntelliJ IDEA.

Exporting and importing settings

If you have your IDE set the way you like, it may be a good idea to back up all settings. Sometimes, it's good to have common settings across all team members. IntelliJ IDEA gives you the ability to archive and export all or specific settings.

To export IDE settings to a JAR archive, do the following:

  1. Go to File | Export Settings from the main menu.
  2. Specify the settings to export the Export Settings dialog box by selecting the checkboxes next to them. All of them are selected by default.
  3. Specify the fully qualified name and path or click on the Browse button to choose the target file.

To import IDE settings from a JAR archive, do the following:

  1. Go to File | Import Settings from the main menu.
  2. Select the desired archive from the Import File Location dialog box.
  3. Specify the settings to be imported in the Select Components to Import dialog box and click on OK.

You should be really careful with importing settings. Importing a set of settings will overwrite all your settings with the imported set. For example, if you export some live templates and reimport them during a colleague's installation, the import will overwrite all their live templates with the imported ones.

Tip

There are many nice-looking themes exported this way, available to be downloaded at http://ideacolorthemes.org. Just pick and import the JAR file and check out how beautiful your IDE will look!

Sharing settings

Sometimes it's good to have the same configuration across all members of your team, organization, or the company. For this purpose, IntelliJ IDEA can use a server to store IDE settings and share them within your team.

To do this, first download the IntelliJ Configuration Server plugin, using the Plugins page of the Settings dialog box.

To connect to the IntelliJ Configuration Server, use your JetBrains account. If you don't have the account, you can create one on the JetBrains website using the link provided in the login dialog.

You can connect to IntelliJ Configuration Server in two ways: during the first startup or on demand.

During the first IntelliJ IDEA startup after installing the plugin, you can select the connection option for the next startup, such as Show login dialog, Login silently, or Do not login.

When the configuration server is connected, the green icon is displayed in the status bar, as shown in the following screenshot:

Sharing settings

Otherwise, the red icon will be presented:

Sharing settings

You can log in to the IntelliJ Configuration Server at any time using the button on the status bar.

The IntelliJ IDEA server stores almost all of the IDE and project settings except for those containing local paths. Your code style settings, keymaps, fonts, color schemes, and inspection profiles will be synced.

Take note that the IntelliJ IDEA server is a public, third-party server. It's secured by a username and password and uses SSL communication, but if you are very concerned about your privacy, you should share your settings using the export/import feature rather than the IntelliJ Configuration Server.

Tip

If you have to use a proxy to access the Internet in your environment, you can set up the proxy settings in the login dialog box.

Tuning IntelliJ IDEA

IDEA's Virtual Machine settings are usually very good out of the box. However, when you work on a specific huge project and decide that you want to tweak IntelliJ IDEA's own virtual machine settings, you can change that in the following locations, depending on your operating system.

On Windows, you can tweak IntelliJ IDEA's own virtual machine settings by executing the following code:

<IntelliJ IDEA installation folder>/bin/idea.exe.vmoptions

Alternatively, you can use the following code:

<IntelliJ IDEA installation folder>/bin/idea64.exe.vmoptions

On Linux and Unix systems, you can tweak IntelliJ IDEA's own virtual machine settings by executing the following code:

<IntelliJ IDEA installation folder>/bin/idea.vmoptions

Alternatively, you can use the following code:

<IntelliJ IDEA installation folder>/bin/idea64.vmoptions

On OS X, since Version 12, the file /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions should be copied to the following path:

~/Library/Preferences/IntelliJIdeaXX/idea.vmopti ons

In this file, you can find, or change, Java Virtual Machine settings that IntelliJ IDEA runs on. For example, to increase the IntelliJ IDEA heap size, modify the -Xmx setting. If you keep getting an OutOfMemoryError message in the PermGen space exceptions, try changing the -XX:MaxPermSize setting.

Tip

The file-scanning applications (such as Spotlight or Alfred on OS X, for example) can slow down the IDE a bit; think about excluding IDEA's folders from their scope.

Having an SSD drive to develop helps a lot with the performance. Indexing, looking for usages, and other file-related tasks will be a lot faster on the SSD drive.

Summary

In this chapter, we discussed what IntelliJ IDEA is, briefly presented a comparison of the available editions, and revealed the main workspace elements and how to customize them.

Install IntelliJ IDEA and try to set up your IDE the way you like it. Use the tips provided to configure the workspace like a pro. Back up your configuration or share it with others.

In the next chapter, we will create and import a project and start the actual work.

Left arrow icon Right arrow icon

Description

Starting with a walkthrough of the main workspace, you will get up and running with IDEA from the word go. You will learn how to exploit IDEA's software development tools and use the various product features such as source code control, the debugger, and the many code generation tools. You will then move on to advanced topics such as how IntelliJ helps in version control, managing change lists, viewing differences and changes, and reverting changes. You will also learn how IDEA can be used for agile development and web development, as well as its integration with frameworks such as Gradle. Complete with tips and tricks, this book will make sure that you have an in-depth and extensive knowledge of informed programming.
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 22, 2014
Length: 276 pages
Edition : 1st
Language : English
ISBN-13 : 9781784396930
Vendor :
JetBrains
Category :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Dec 22, 2014
Length: 276 pages
Edition : 1st
Language : English
ISBN-13 : 9781784396930
Vendor :
JetBrains
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 146.97
Mastering JavaScript Design Patterns
$48.99
IntelliJ IDEA Essentials
$48.99
Mastering Apache Maven 3
$48.99
Total $ 146.97 Stars icon

Table of Contents

11 Chapters
1. Get to Know Your IDE, Fast Chevron down icon Chevron up icon
2. Off We Go – To the Code Chevron down icon Chevron up icon
3. The Editor Chevron down icon Chevron up icon
4. Make It Better – Refactoring Chevron down icon Chevron up icon
5. Make It Happen – Running Your Project Chevron down icon Chevron up icon
6. Building Your Project Chevron down icon Chevron up icon
7. Red or Green? Test Your Code Chevron down icon Chevron up icon
8. Squash'em – The Debugger Chevron down icon Chevron up icon
9. Working with Your Team Chevron down icon Chevron up icon
10. Not Enough? Extend It Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8
(5 Ratings)
5 star 60%
4 star 0%
3 star 0%
2 star 40%
1 star 0%
T. Nield Sep 01, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very helpful and comprehensive (but not too comprehensive) guide on IntelliJ IDEA. Finally was able to transition over from Eclipse happily.
Amazon Verified review Amazon
Person May 21, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Wonderfully well written and great level of depth. This is just the book I was looking for. If you want to know more about IntelliJ...and who doesn't, it rapidly becoming the de facto standard IDE for development...this is the perfect resource.
Amazon Verified review Amazon
Bubba Jun 19, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very good introduction, got me converted from Eclipse in a week; never going back in 2.
Amazon Verified review Amazon
Amazon Customer Aug 10, 2018
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
251 pages that do not cover the topic in detail. The IntelliJ website is better!
Amazon Verified review Amazon
Les Ormonde Apr 27, 2017
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Out of date. Not written clearly.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela