Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Run Experience #85759

Closed
isidorn opened this issue Nov 28, 2019 · 3 comments
Closed

Improve Run Experience #85759

isidorn opened this issue Nov 28, 2019 · 3 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Nov 28, 2019

As @weinand pointed out

Today VS Code does not support generic "Run" functionality!

What we currently support is the optional "noDebug" attribute of launch configurations:
VS Code's "Run" is basically the same as "Debug" but with a "noDebug": true added to the launch configuration.

VS Code does not know whether a debug adapter obeys the "noDebug" hint. So the VS Code debug UI will switch to debug mode and show a debug toolbar in any case.

To improve the Run experience we should:

  • Look into improving the UX when a program is running (for example the toolbar does not make a lot of sense, neither does most of the debug viewlet views)
  • Look into improving the extension contribution points shuch that the extension can specify if it can run and how
@isidorn isidorn added debug Debug viewlet, configurations, breakpoints, adapter issues plan-item VS Code - planned item for upcoming labels Nov 28, 2019
@luabud
Copy link
Member

luabud commented Nov 29, 2019

One thing that might be worth mentioning is that there are two ways to "run" Python files with the Python extension. We have a "run Python file" command that basically calls the Python interpreter to run a file (and we recently added a run button to improve its discoverability for new users), and then the Start Without Debugging option. Right now there isn't a lot of confusion since not a lot of our users are aware of the start without debugging option, but once this is improved we may need to rethink the UX in the Python extension to avoid confusion.

@weinand
Copy link
Contributor

weinand commented Dec 2, 2019

@luabud yes, aligning the "Run" stories of individual extensions is one goal covered by this item.

@weinand
Copy link
Contributor

weinand commented Oct 19, 2022

Nothing planned here.

@weinand weinand closed this as completed Oct 19, 2022
@weinand weinand removed the plan-item VS Code - planned item for upcoming label Oct 19, 2022
@weinand weinand removed their assignment Oct 19, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

3 participants