This makes sense to me. The example files are tiny, so it shouldn’t bother people getting an extra files that they won’t use. We can say “for Java and Python modes” in the description, and then have
/Java/
/Python/
In fact, @kll already mentioned that it was confusing seeing them while in p5.js mode.
Looking at how the PDE Examples menu works, it seems like this is what happens:
- The examples for download in Contribution Manager don’t show what mode they are for.
- Any examples show up in the Examples menu when launched from a Java and Python mode sketch – but they don’t show up in the Examples menu from a p5.js sketch. This might be because Java and Python mode can both use Java libraries.