The course is accompanied by exercise files that you can download to your system. It's organized by chapter, with starting projects designed to be opened in IntelliJ IDEA.
- [Instructor] This course is accompanied by exercise files that you can use to follow along with the demonstrations on screen. I've copied the exercise files to my desktop, but you can place them anywhere on your hard disk. The exercise files are organized by chapter. Within each chapter, you'll see subdirectories, and within those subdirectories, you'll see projects. Most of the directories contain IntelliJ IDEA projects. If you open the directory on Windows, you'll see a subdirectory called .idea. If you open this directory on Mac OS, the .idea directory won't be visible, but it is there.
The operating system is hiding it because of the dot at the beginning of the directory name. In order to open any of these projects in IntelliJ IDEA, start at the welcome screen and choose Open, and then navigate to the project you want. If you copied your exercise files to your desktop, you can press control D on Windows or command D on Mac and you'll jump to the desktop directory. From there, drill down to the Directory you're interested in. I'll go to chapter three, for example. And this is the directory for that video.
And under that, I'll see a directory that's marked with an icon as an IntelliJ IDEA project. I'll select it and click OK, and that opens the project. If you don't see the project window on the left, you can go to the menu and choose View, Tool Windows, Project, or press the associated keyboard shortcut. Either of those will toggle the project window open and closed. On Window, I just press Alt one and it opens, and Alt one again and it closes. To run a project, go to the menu and choose Run, and if the project has been run previously, you'll see these menu choices are active.
If you don't see those enabled, though, you can always go to the second Run menu choice and then any classes that have main methods in them should appear here. This project has a main class with a main method, so it appears, and I'll click it, and that opens and runs the application. When you run a command line application that asks for user input, as this one does, you'll be able to run the application right here in what IntelliJ IDEA calls the Run menu. I'll type in a couple of numeric values, and then I'll choose a math operator, and my little calculator application does its thing.
In addition to the starting exercise files, there's also a solutions directory. And this directory contains finished versions of all of the projects. Because this is a course that's about the IDE more than about the code itself, those solutions projects aren't so important. But if you want to look at them, they're available. Finally, I'll mention that there are two particular projects in the exercise files that are designed to be imported and not directly opened. There's one that was built in Eclipse, and there's another one that was built in NetBeans. I'll show you in chapter two how to import those kinds of projects and how to make adjustments after the project has been imported.
- Exploring IntelliJ IDEA editions
- Installing IntelliJ IDEA on macOS and Windows
- Configuring IntelliJ IDEA
- Creating new projects
- Importing an Eclipse project
- Exploring the user interface
- Editing and debugging code
- Building, compiling, and packaging Java projects
- Managing multiple branches with Git
- Programming with Groovy, Scala, and Kotlin