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

lsp-bridge-find-def 能不能检查隔壁的窗口就是要跳转的目标窗口? #727

Closed
getong opened this issue Oct 7, 2023 · 2 comments

Comments

@getong
Copy link
Contributor

getong commented Oct 7, 2023

我刚才试过lsp跳转,如果目标文件就是在隔壁窗口的文件,就直接跳转到隔壁窗口文件,而不是重新打开一个新的buffer。

就是 lsp-ui-peek--goto-xref-other-window 这样的效果。

@getong getong changed the title lsp-bridge-find-def 能不能 lsp-bridge-find-def 能不能检查隔壁的窗口就是要跳转的目标窗口? Oct 7, 2023
@manateelazycat
Copy link
Owner

最近比较忙, 可能要过段时间才有空。

@manateelazycat
Copy link
Owner

a6b83b6

已经加了一个选项, 你设置一下 lsp-bridge-find-def-select-in-open-windows 选项就好了。

werhner added a commit to werhner/lsp-bridge that referenced this issue Oct 11, 2023
commit a6b83b6
Author: Andy Stewart <lazycat.manatee@gmail.com>
Date:   Wed Oct 11 20:03:54 2023 +0800

    Fix issue manateelazycat#727, add new option lsp-bridge-find-def-select-in-open-windows

commit 5115963
Author: Andy Stewart <lazycat.manatee@gmail.com>
Date:   Wed Oct 11 19:00:33 2023 +0800

    Try to fix issue manateelazycat#732 , use python.exe if python3.exe not found.
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

No branches or pull requests

2 participants