You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using dap-ui-repl-mode for python debugging with debugpy, the last character entered is ignored in filtering the completion candidates. For example, when debugging
and debug the above python code using M-x dap-debug -> "Python :: Run file (buffer)"
I am currently using as workaround a patched version of dap-ui-repl--calculate-candidates, where I add 1 to the column specified in dap-ui.el, i.e., i replaced the corresponding line with
However, since this is the only scenario in which I use dap-ui-repl, I cannot check or tell if this change breaks completion under different conditions. Maybe, it is evil-related?
The text was updated successfully, but these errors were encountered:
When using
dap-ui-repl-mode
for python debugging withdebugpy
, the last character entered is ignored in filtering the completion candidates. For example, when debuggingand entering
dap-ui-repl
, I getbut
So it seems as if the prefix that is extracted and used for completion candidate computation is missing the last character entered.
To reproduce, install emacs 27.1, a plain spacemacs (select vim style keybindings, i.e. evil), add layers
and debug the above python code using
M-x dap-debug
-> "Python :: Run file (buffer)"I am currently using as workaround a patched version of
dap-ui-repl--calculate-candidates
, where I add1
to the column specified in dap-ui.el, i.e., i replaced the corresponding line withwhich fixes completion to behave as expected.
However, since this is the only scenario in which I use dap-ui-repl, I cannot check or tell if this change breaks completion under different conditions. Maybe, it is evil-related?
The text was updated successfully, but these errors were encountered: