You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contribute tasks for "flutter build" and other common commands #2718
There are quite a few build types and each one has a number of arguments. I'm unsure if it's worth having to maintain those in some quick-pick versus just leaving this as something to run from the terminal. I do generally encourage avoiding the terminal and using built-in commands, but it usually comes at the expensive of only being able to do the most simple form with no arguments.
Hi @DanTup thanks for replying.
VS Code does provide an option to configure these settings. So options for building apk, appbundle, ipa can be provided with config.json file to pass parameters for customization
Using the terminal is sometimes really frustrating
VS Code does provide an option to configure these settings. So options for building apk, appbundle, ipa can be provided with config.json file to pass parameters for customization
That's true, but editing the settings might be more effort than just running it manually.
That said, I think a task provider may work well here. We can contribute default tasks (for example with no arguments) and if you want to customise them you can click the cog icon to copy them into your own tasks.json.
changed the title [-]Flutter feature : Add build apk/ appbundle/ iOS [/-][+]Contribute tasks for "flutter build" and other common commands[/+]on Aug 12, 2020
VS Code does provide an option to configure these settings. So options for building apk, appbundle, ipa can be provided with config.json file to pass parameters for customization
That's true, but editing the settings might be more effort than just running it manually.
@DanTup, editing the settings may require some effort but not as much as the effort need to open the terminal and enter the command with all the arguments just for building the app.
That said, I think a task provider may work well here. We can contribute default tasks (for example with no arguments) and if you want to customise them you can click the cog icon to copy them into your own tasks.json.
Activity
DanTup commentedon Aug 12, 2020
There are quite a few build types and each one has a number of arguments. I'm unsure if it's worth having to maintain those in some quick-pick versus just leaving this as something to run from the terminal. I do generally encourage avoiding the terminal and using built-in commands, but it usually comes at the expensive of only being able to do the most simple form with no arguments.
sidrao2006 commentedon Aug 12, 2020
Hi @DanTup thanks for replying.
VS Code does provide an option to configure these settings. So options for building apk, appbundle, ipa can be provided with config.json file to pass parameters for customization
Using the terminal is sometimes really frustrating
DanTup commentedon Aug 12, 2020
That's true, but editing the settings might be more effort than just running it manually.
That said, I think a task provider may work well here. We can contribute default tasks (for example with no arguments) and if you want to customise them you can click the cog icon to copy them into your own
tasks.json.[-]Flutter feature : Add build apk/ appbundle/ iOS [/-][+]Contribute tasks for "flutter build" and other common commands[/+]sidrao2006 commentedon Aug 12, 2020
@DanTup, editing the settings may require some effort but not as much as the effort need to open the terminal and enter the command with all the arguments just for building the app.
That's great, I'll be looking forward to it.