PeterStaev / lego-spikeprime-mindstorms-vscode

Helps you connect and work with Lego's SPIKE Prime/MINDSTORMS Robot Inventor hubs
Apache License 2.0
64 stars 22 forks source link

Extension creates *.assembled.py file #62

Closed Ruimtewese closed 10 months ago

Ruimtewese commented 10 months ago

@PeterStaev , at runtime the extension creates an *.assembled.py file. Is this normal or again some setting I should have ticked somewhere in VSC?

image

PeterStaev commented 10 months ago

@Ruimtewese yes, this is normal. It is part of the feature to allow you to use multi-file projects. On upload of the main program file the extension bundles all local files that are imported and adds them to the main file.

You can check here to see what syntax is currently supported.

You can safely add those files in .gitignore or similar as they are regenerated every time the main program file is uploaded to the hub.