lego-spikeprime-mindstorms-vscode icon indicating copy to clipboard operation
lego-spikeprime-mindstorms-vscode copied to clipboard

Add option to specify own preproccessor

Open J0J0HA opened this issue 8 months ago • 0 comments

An option to specify a custom file preprocessor would be really cool. There is already the option to toggle a preprocessor for replacing *-imports, but we (GSG-Robots) have built our own preprocessor (https://github.com/GSG-Robots/comPYner/) to support all types of imports, because we want to split up our code into multiple files.

I think it could be implemented like this: You can specify a command that is being executed. The file contents are passed into stdin and the result is read from stdout and then uploaded to the brick.

What do you think about implementing such a feature?

J0J0HA avatar Jun 16 '24 18:06 J0J0HA