Skip to content

Contribute tasks for "flutter build" and other common commands #2718

Closed

Description

@sidrao2006

Use Case

As available in IntelliJ and Android Studio, the build option will be very useful.
Currently in VS Code, we have to run the command in terminal.

Activity

  1. DanTup commented on Aug 12, 2020

    @DanTup
    Member

    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.

  2. added this to the Backlog milestone on Aug 12, 2020
  3. added
    in flutterRelates to running Flutter apps
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Aug 12, 2020
  4. sidrao2006 commented on Aug 12, 2020

    @sidrao2006
    Author

    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

  5. DanTup commented on Aug 12, 2020

    @DanTup
    Member

    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.

  6. changed the title [-]Flutter feature : Add build apk/ appbundle/ iOS [/-] [+]Contribute tasks for "flutter build" and other common commands[/+] on Aug 12, 2020
  7. modified the milestones: Backlog, On Deck on Aug 12, 2020
  8. sidrao2006 commented on Aug 12, 2020

    @sidrao2006
    Author

    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.

    That's great, I'll be looking forward to it.

  9. modified the milestones: On Deck, v3.16.0 on Oct 1, 2020
  10. modified the milestones: v3.16.0, v3.17.0 on Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in flutterRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions