ITADN

dape-display-source-buffer-action should not use same-window

#292Opentjarvstrand 创建于 2026-03-21
T
tjarvstrandcommented
AFAICT, the `dape-display-source-buffer-action` is used when jumping to source from the stack and from the breakpoints buffer which, by default, are displayed side windows. IMHO, this makes jumping to sources very janky as it tends to show the code in a very small window. I would like to suggest removing the `display-buffer-same-window` from `dape-display-source-buffer-action`, and adding `(inhibit-same-window . t)` to the action rules. It would possibly also be a good idea to add a rule to avoid side windows if possible. If this sounds reasonable, I would be open to work on a PR for it, but I wanted to gauge interest first 🙂
0 条评论