We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I dont really know how to google that. I actually just want to know if it is possible to create like hierarchical projects like in eclipse or so. I mean is it possible to have several folders or subfolders where I could sort the different classes of my project?
thx in advance
Answers
You can have different tabs for your program
each tab can hold a class e.g.
https://www.processing.org/reference/environment/#Tabs
But if you start using subdirectories then you'll need to use packages, and that's not really the processing way.
Maybe if your project needs these things then you'd be better off using eclipse rather than the usual processing ide (Although that comes with its own issues)
Tabs are great. I use them all the time
Yes, I was more talking about the directories in the question.
Tabs are a bit fake in that all the tabs are just concatenated together before the pre processor runs. It's still a flat structure. But they are usually enough.
But the pre processor will interfere with packages.
There is a reason processing sketches are called sketches. The idea is that they are short, sweet little programmes, not massively over-engineered suites.
PDE's pre-processor doesn't interfere w/ ".java" suffixed tabs. \m/
@koogs meh... thats sad. Idk the idea is understandable. But I am pretty much too lazy to learn jogl or lwjgl and thought it could be easier to code with processing. howsoever... lets go play something else.
Still tabs are great!
If you want a full project hierarchy and not a sketch, use Processing in Eclipse without using PDE -- https://www.processing.org/tutorials/eclipse/
@jeremydouglass well that sounds good