Book Image

IntelliJ IDEA Essentials

By : Jaroslaw Krochmalski
Book Image

IntelliJ IDEA Essentials

By: Jaroslaw Krochmalski

Overview of this book

Table of Contents (17 chapters)
IntelliJ IDEA Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up the environment and project


To work on your own plugin, you can use either the Community or the Ultimate Edition of IntelliJ IDEA; both these editions are well-suited to plugin development. To be able to debug IDEA's core code though, you will need to use the Community Edition and have the Community Edition sources available on the source path of the plugin project. It's not mandatory for the plugin development process but can sometimes be useful. To get the Community Edition source, we need to pull it out from the repository; it's open source. Take note that the size of the sources will be more than one gigabyte, so make sure you have plenty of free space on your drive.

To pull out the source from the repository, use the Git pull command in the shell of your operating system:

git clone git://git.jetbrains.org/idea/community.git idea

Tip

You can use the --depth 1 Git option to create a shallow Git clone. This will speed up the download process; the history will be truncated to a depth...