Skip to Content
IntelliJ IDEA Essentials
book

IntelliJ IDEA Essentials

by Jaroslaw Krochmalski
December 2014
Intermediate to advanced
276 pages
5h 54m
English
Packt Publishing
Content preview from IntelliJ IDEA Essentials

The editor basics

IntelliJ IDEA's editor supports all the standard features of a text editor such as selecting text, searching, cutting, copying, and pasting. Let's start with some basic editor commands and then focus on more advanced features of IntelliJ IDEA, such as syntax-aware selection, clipboard history, code reformatting, smart code completion, and code inspections.

To duplicate a line of code (or a selected block) use Ctrl + D (PC) or cmd + D (Mac). To remove a line of code or selected block, use Ctrl + Y (PC) or cmd + Y (Mac).

Sometimes it may be useful to comment portions of code. To use the line comment, press Ctrl + / (PC) or cmd + / (Mac). If you favor the block comment, use Shift + Ctrl + / (PC) or Shift + cmd + / (Mac). IntelliJ ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming

Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming

Ted Hagos
Optimizing Java

Optimizing Java

Benjamin J. Evans, James Gough, Chris Newland

Publisher Resources

ISBN: 9781784396930