scalameta / metals-feature-requests

Issue tracker for Metals feature requests
37 stars 4 forks source link

Hot Code Reload button in VS Code debugger #353

Closed iusildra closed 1 year ago

iusildra commented 1 year ago

Is your feature request related to a problem? Please describe.

With @adpi2 we're working on the implementation of Hot Code Replace (HCR) in the scala debug adapter plugin. Now I'd like to add this feature in VS Code, but there are no button in the debug session controls to trigger the hot code reload

Describe the solution you'd like

The combination of both extensions vscode-java and vscode-java-debug provides a debug session with a button to trigger HCR. I'm currently looking at where it has been implemented to introduce it in metals.

image

Describe alternatives you've considered

None

Additional context

Any help is welcome :slightly_smiling_face:

Search terms

debug, hot code reload, hot code replace, vs code

iusildra commented 1 year ago

Woops sorry, didn't see there was already one opened :pray: