-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
When jumping to a frame, prefer using open windows #980
Comments
This should already work if you change the See E.g. try: local dap = require("dap")
dap.defaults.fallback.switchbuf = 'useopen,uselast' or dap.defaults.fallback.switchbuf = 'usetab,uselast' |
Didn't notice this option, but for it seems that after jumping to frame in window B the focus is still on window A. Is there another setting that I should set? |
So far it set the cursor, but didn't change the active window. See #980 (comment)
So far it set the cursor, but didn't change the active window. See #980 (comment)
There is no option but I changed the behavior with #982 |
Tested it on my end, works great, thanks! |
Sorry to comment on a closed issue. Any chance we could make this "configurable"? 🤔 |
@TheBlob42 I could imagine allowing the Could you create a new issue that explains the use-case in more detail? |
Problem Statement
Jumping to buffer seems to only use the current window. If You have a split of windows [A] | B (brackets denote current window), when jumping to code that exists in the content of the file that B contains you will get [B] | B.
Instead I think its better to have A | [B]
Another considerations to make is whether or not to allow jumping between tabs, so some input is needed here.
I could implement it sometime in the near future.
Possible Solutions
No response
Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: