AvinZarlez / processing-vscode

A Visual Studio Code extension for the programming language Processing
https://marketplace.visualstudio.com/items?itemName=Tobiah.language-pde
MIT License
177 stars 25 forks source link

Building? #13

Closed ghost closed 6 years ago

ghost commented 6 years ago

I couldnt find a build option and dont think its available. Could you try to implement that?

AvinZarlez commented 6 years ago

What is the issue you are having? This extension adds a build task (https://github.com/TobiahZ/processing-vscode#command-create-task-file ), but you have to configure your path. Have you followed the readme?

ghost commented 6 years ago

Sry i mean Exporting so i can send it as an exe

On Feb 20, 2018 18:51, "Tobiah Zarlez" notifications@github.com wrote:

What is the issue you are having? This extension adds a build task ( https://github.com/TobiahZ/processing-vscode#command-create-task-file ), but you have to configure your path. Have you followed the readme?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/13#issuecomment-367060971, or mute the thread https://github.com/notifications/unsubscribe-auth/AdlcwdvXDZNNL5eHs8as-QrH1nWA2u6Pks5tWwYkgaJpZM4SMC_Z .

AvinZarlez commented 6 years ago

It should create an .exe in the output folder. Is there an extra export setting you want passed? If so, there isn't a default option but you can customize your task file with whatever setting you want as long as you are passing a command line parameter

ghost commented 6 years ago

I just reinstalled my windows and reinstalled visual studio code with the processing language extension and i still cant see the .exe generated anywhere. Do i have to set it up or something like that?

2018-02-20 21:26 GMT+01:00 Tobiah Zarlez notifications@github.com:

It should create an .exe in the output folder. Is there an extra export setting you want passed? If so, there isn't a default option but you can customize your task file with whatever setting you want as long as you are passing a command line parameter

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/13#issuecomment-367104173, or mute the thread https://github.com/notifications/unsubscribe-auth/AdlcwW71dfZY_cMdSVh_zt_IH6ymLGsHks5tWyctgaJpZM4SMC_Z .

AvinZarlez commented 6 years ago

Are you saying the task file/build trigger doesn't work? Or trying to get the files after you build? Did you follow the instruction in the readme (Ex. Is Processing installed to your path?)

ghost commented 6 years ago

Yes I did. Everything works, so if I want to run the sketch it runs like normal. But if I want to let's say send it to my friend, I don't have a file that he could execute like an exe.

On Feb 26, 2018 21:46, "Tobiah Zarlez" notifications@github.com wrote:

Are you saying the task file/build trigger doesn't work? Or trying to get the files after you build? Did you follow the instruction in the readme (Ex. Is Processing installed to your path?)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/13#issuecomment-368643864, or mute the thread https://github.com/notifications/unsubscribe-auth/AdlcwWCu0yQj0kR9aLGBcL7U3iNuIidGks5tYxfKgaJpZM4SMC_Z .

AvinZarlez commented 6 years ago

The task file outputs to a build folder. By default it's "out" in the workplace root. If the problem is you aren't exporting you just need to add the --export command (See this link for different parameters http://www.dsfcode.com/using-processing-via-the-command-line/ )

ghost commented 6 years ago

Well... I feel stupid now 😂 but thanks for your help

On Feb 26, 2018 23:06, "Tobiah Zarlez" notifications@github.com wrote:

Closed #13 https://github.com/TobiahZ/processing-vscode/issues/13.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/13#event-1493100039, or mute the thread https://github.com/notifications/unsubscribe-auth/AdlcwccGg9-bcSfMvmmmFxgyOLYxUGhYks5tYyrfgaJpZM4SMC_Z .

AvinZarlez commented 6 years ago

Don't feel stupid! It's good feedback you didn't know. Feel free to maybe write some instructions about putting in additional parameters into the task files, and then maybe contribute a PR to the readme to help others in the future!