Adding a hierarchy to project?

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.

    The arrow button to the right of the tabs in the Processing Development Environment is used to manage these files.

    https://www.processing.org/reference/environment/#Tabs

  • Answer ✓

    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

  • Answer ✓

    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.

  • But the pre processor will interfere with packages.

    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

Sign In or Register to comment.