Sketchware-Pro / Sketchware-Pro

Sketchware Pro's sources in Java. Now anyone can contribute to Sketchware Pro.
https://sketchware.pro
Other
863 stars 254 forks source link

Handle built in util classes #961

Closed elfilibusterismo closed 1 month ago

elfilibusterismo commented 8 months ago

When SketchwareUtil and FileUtil blocks not used, it will not generate the source code.

JavkhlanK commented 8 months ago

it should be an opt-in feature if anything imo

elfilibusterismo commented 8 months ago

What if they use those methods in custom Java classes?

I've think of that too. Also in addSourceDirectly Block.

hasrat-ali commented 8 months ago

Then why did you done this? 😂

elfilibusterismo commented 8 months ago

Then why did you done this? 😂

Cause what if you don't use that classes? It still generates even though you don't use that.

Maybe what jbk said. Should have an option.

JavkhlanK commented 8 months ago

breaking compilation should never really happen though