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

feat(dap): add custom commands to nvim-dap #294

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Conversation

ch-vik
Copy link

@ch-vik ch-vik commented Sep 29, 2023

This simple PR aims to extend the available commands of nvim-dap by adding the custom requests hotReload and hotRestart.

Being customRequests provided by the flutter debug_adapter and not part of the DAP standard payload, it makes sense that the flutter plugin extends these functionalities.

This can also provide a means to use the hot reload functionality even in debug mode, where, as it is now, it is the only reliable way to run nested complex projects (with project configuration).

  • Extends the DAPcommands repertoire with hotReload and hotRestart as .hot-reload and .hot-restart

- Extends the `DAP`commands repertoire with `hotReload` and `hotRestart` as `.hot-reload` and `.hot-restart`
Copy link
Collaborator

@sidlatau sidlatau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, works, LGTM! :)

@sidlatau sidlatau merged commit af591f5 into akinsho:main Oct 1, 2023
3 of 4 checks passed
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 this pull request may close these issues.

None yet

2 participants