Learn creative coding writing simple programs

154. Writing Processing sketches in IntelliJ Idea

Processing comes with it's one code editor which is great while your programs fit in one file. But when your programs start to grow larger it is probably much easier to work with an IDE like Idea or Eclipse.

Those larger IDEs offer tons of features that make your work easier:
- they allow using more modern versions of Java than the PDE does
- allow to easily reuse your own code in multiple programs
- make it easy to use any java library in your project even if it's not a Processing library
- autocomplete is awesome and it works for any libraries you are using
- Idea can suggest how to improve your code
- refactoring lets you easily rename variables, methods, classes, and move them around easily

I've use Idea for years and I know it would have not been possible to develop the interactive projects I did without such a tool.

That's why in this and the next videos I show how you can use Idea with your own Processing projects.

More Processing & Idea videos: https://vimeo.com/channels/p5idea

Ask questions and access extra content at https://patreon.com/hamoid

Tags: intellij, idea, ide

Code editor

You can make changes to the code below. Then

Questions and comments

Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)

To indicate that a word in your comment is code, use the `backtick`. Example
Do `float` and `int` smell similar?
To highlight code blocks, surround it with ``` code-fences ``` like this:
``` void setup() { size(600, 600); } ```