very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

feat: setup default VSC tasks

Open omartinma opened this issue 2 years ago • 1 comments

With Visual Studio Code we have the ability to set up some tasks on .vscode/tasks.json that can be useful for some people.

Example of tasks "Run test with coverage and display coverage file"

           {
            "label": "flutter: Run coverage",
            "type": "shell",
            "command": "cd ${input:flutterFolder} && very_good test --test-randomize-ordering-seed random --coverage && genhtml ./coverage/lcov.info -o coverage && open ./coverage/index.html",
            "problemMatcher": []
        },

Problems I see:

  • Not everyone uses VSC.
  • Maybe not everyone will use these tasks.

Alternatives:

  • Brick in mason?

omartinma avatar Oct 07 '22 14:10 omartinma

It's not uncommon to see a scripts folder in most projects that contains various bash/shell scripts, so generating those is always an option.

Alternatively, implementing #252 would solve this ;)

jolexxa avatar Oct 07 '22 19:10 jolexxa