vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

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

Open DanTup opened this issue 5 years ago • 1 comments

Hi!

I work on the Dart extension for VS Code. I've recently added buttons to make running/debugging Dart files more discoverable (based on recent VS Code recommendations) 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 <script> 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!

DanTup avatar Sep 14 '20 08:09 DanTup

wow, only (almost) 2 years have passed since this was reported... lovely.

noordawod avatar Aug 23 '22 16:08 noordawod