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

[HCR] Action button to apply code changes to running app #559

Closed
akaroml opened this issue Apr 9, 2019 · 1 comment · Fixed by #586
Closed

[HCR] Action button to apply code changes to running app #559

akaroml opened this issue Apr 9, 2019 · 1 comment · Fixed by #586
Assignees
Milestone

Comments

@akaroml
Copy link
Member

akaroml commented Apr 9, 2019

The UX of HCR can be improved by making it explicit. With the latest update of VS Code, you can now add a button in the debug toolbar to expose this feature. And this is how Dart guys did:
image

Please refer to this issue for more details: microsoft/vscode#69153

@testforstephen
Copy link
Contributor

Add a new debug settings java.debug.settings.hotCodeReplace to control how to trigger HCR. Defaults to manual.

  • manual - Click the toolbar to apply the changes.
    image
  • auto - Automatically apply the changes after compilation. This is the old behavior.
  • never - Never apply the changes.

@EricZhangzf EricZhangzf mentioned this issue May 31, 2019
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants