IntelliJ IDEA Essentials
eBook - ePub

IntelliJ IDEA Essentials

Jaroslaw Krochmalski

Share book
  1. 276 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

IntelliJ IDEA Essentials

Jaroslaw Krochmalski

Book details
Book preview
Table of contents
Citations

About This Book

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is IntelliJ IDEA Essentials an online PDF/ePUB?
Yes, you can access IntelliJ IDEA Essentials by Jaroslaw Krochmalski in PDF and/or ePUB format, as well as other popular books in Computer Science & Compilers. We have over one million books available in our catalogue for you to explore.

Information

Year
2014
ISBN
9781784396930
Edition
1

IntelliJ IDEA Essentials


Table of Contents

IntelliJ IDEA Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this books covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Get to Know Your IDE, Fast
Comparing the various editions
Installing IntelliJ IDEA
An overview of the workspace
Tool windows
View modes in tool windows
Pinned Mode
Docked Mode
Floating Mode
Split Mode
Multiple views in tool windows
Navigating inside the tool window
Tool windows set up for a specific project
Editor tabs
Crafting your settings
Searching for options
Setting keyboard shortcuts
Colors and fonts
Picking your plugins
Configuration tips and tricks
Exporting and importing settings
Sharing settings
Tuning IntelliJ IDEA
Summary
2. Off We Go – To the Code
What is a project?
Project structure and configuration
Comparison of Eclipse, NetBeans, and IntelliJ IDEA terminologies
The project
Modules
Folders
Libraries
Facets
Artifacts
Creating a project
Creating a new project from scratch
Importing the existing project
Project format
The directory-based format
The file-based format
The directory-based format versus the file-based format
Summary
3. The Editor
An overview of the editor and setup
The gutter area
The Status bar
Tabs
Scratches
Scrollbar
Navigating in the editor
Navigating between files
Navigating within a single file
The Search Everywhere feature
The editor basics
Searching for and replacing text
Syntax-aware selection
Column selection mode
Clipboard history
Reformatting the code
Code completion
Language injection
Generating code
Code inspection
Using Live Templates
Postfix code completion
Comparing files and folders
Comparing files
Comparing folders
Looking for help
Viewing inline documentation
Viewing type definitions
Looking for usages
Viewing method parameters
Viewing the external documentation
Summary
4. Make It Better – Refactoring
An overview of refactoring
Refactoring actions
Rename
Find and Replace Code Duplicates
Copy
Move
Move Instance Method
Safe Delete
Change Signature
Type Migration
Make Static
Convert to Instance Method
Extract refactorings
Extract Variable
Extract Constant
Extract Field
Extract Parameter
Introduce Parameter Object
Extract Method
The Extract Method object
Delegate
Extract Interface
Extract Superclass
Inline
Remove Middleman
Wrap Return Value
Invert Boolean
Pull Members Up or Push Members Down
Replace Inheritance With Delegation
Convert Anonymous Class to Inner
Encapsulate Fields
Replace Constructor with Factory Method / Builder
Generify
Summary
5. Make It Happen – Running Your Project
A temporary configuration
The permanent configuration
The Run/Debug configuration for a Java application
Creating a Tomcat server local configuration
The Node.js configuration
Configuration defaults
Sharing the configuration
Running
Summary
6. Building Your Project
Editing Maven settings
The Maven tool window
Running Maven goals
Using Gradle
Executing Gradle tasks
Summary
7. Red or Green? Test Your Code
Enabling the testing plugins
Creating the test
Creating a run/debug configuration for the test
Running or debugging the test
Keyboard shortcuts
Summary
8. Squash'em – The Debugger
Debugger settings
Setting up the JavaScript debugger
Managing breakpoints
Starting the debugger
The Debug tool window
Inspecting variables and evaluating expressions
Debugger actions
Keyboard shortcuts summary
Summary
9. Working with Your Team
Enabling version control
Checking out the project from the repository
Configuring version control
Working with version control
Changelists
Adding files to version control
Committing files
Getting changes from the repository
Browsing the changes
Reverting the local changes
Using the difference viewer
Displaying the history
The log viewer
Quickly executing VCS actions
Keyboard shortcuts
Summary
10. Not Enough? Extend It
Setting up the...

Table of contents