-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Add picker for executables/files #1130
Comments
I have a first implementation here: https://git.cryptomilk.org/users/asn/dotfiles.git/tree/dot_config/nvim/lua/plugins/dap/c.lua#n51 |
cryptomilk
added a commit
to cryptomilk/nvim-dap
that referenced
this issue
Apr 14, 2024
cryptomilk
added a commit
to cryptomilk/nvim-dap
that referenced
this issue
Apr 14, 2024
mfussenegger
pushed a commit
to cryptomilk/nvim-dap
that referenced
this issue
May 22, 2024
mfussenegger
added a commit
that referenced
this issue
May 23, 2024
This implements a file picker, to pick the file you want to execute with the debugger. Fixes #1130 Co-authored-by: Mathias Fussenegger <[email protected]>
I just noticed that you removed the local cwd = vim.fn.getcwd()
local is_samba = cwd:find('samba')
local path = nil
if is_samba then
path = cwd .. '/bin'
end
opts {
path = path,
} |
Created #1218 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Statement
You provide a nice picker to select a process to get the pid. It would be great to have the same available to select programs/executables to debug.
I'm currently using:
Possible Solutions
It would be nice if you would have a picker searching for executables in the directory.
It could also be used maybe with a filter:
Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: