I’ve been studying Java for a few months and I want to start using Intellij IDEA.
For each book or source of information I have created a subdirectory and then another subdirectory for each chapter. So my current structure is something like this:
/java/headfirst/chapter1
/java/headfirst/chapter2
..
/java/tutorialspoint/
/java/youtube/newboston/
/java/deitelHTP/chapter1/
/java/deitelHTP/chapter2/
..
That works very well when using vim and the command line.
Now with Intellij I’m looking for feedback on how best to organize my files. It seems like I need to create a project(or import) for my existing directories and that seems to be OK. Should I be doing this some other way or is there a better way to organize my files?
So far just about everything I’ve worked on has only a few class files and I haven’t really learned about packages yet.
In your case I would recommend just creating a project with any name
Dragging a folder with code to project (you can also use CTRL-C and CTRL-V)

Now you have your folder in project. You can remove folder from idea without deleting files from your hard drive. You can also add multiple folders.
Profit!