formulahendry / formulahendry/vscode-code-runner

Hide Code Runner button for .dart files if Dart extension is also installed

Open
#674 1 comment 11 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

Hi!

I work on the [Dart extension](https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code) for VS Code. I've recently added buttons to make running/debugging Dart files more discoverable (based on recent [VS Code recommendations](https://code.visualstudio.com/updates/v1_47#_single-file-debugging)) though uses with Code Runner installed now see multiple sets of buttons that can be confusing:

Screenshot 2020-09-14 at 09 27 33

For Flutter users, the Code Runner button won't work correctly (since it only calls `dart ` but Flutter projects need to be run with `flutter`) whereas the Dart buttons are contextual and will work for both Dart and Flutter projects (as well as test files and others).

Would you consider hiding the button for Dart files if the Dart extension is also installed, to avoid some confusion?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.