There are two basic scenarios when starting plugin development with IDEA (well, in general really).
- Starting from scratch
You have been inspired/ordered to make Confluence to something totally new and interesting.
- Enhancing/maintaining an existing plugin
You want to fix some bugs or add some cool new functionality to an existing project, but you've just downloaded the source, or are switching from a different IDE.