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_symbol_definition does not work if side_by_side=True / SEMI_TRANSIENT view #2176

Closed
giampaolo opened this issue Jan 23, 2023 · 3 comments

Comments

@giampaolo
Copy link

giampaolo commented Jan 23, 2023

Describe the bug
I have 2 key bindings configured:

  1. alt+enter, which invokes lsp_symbol_definition command
  2. ctrl+alt+enter, which invokes lsp_symbol_definition + side_by_side=True command

When I navigate my (Python) code by using the first method everything is fine, but when I use side_by_side=True LSP will successfully bring me (goto) to the code definition, opening a separate SEMI_TRANSIENT view, but when I'm in the SEMI_TRANSIENT view I can no longer use these 2 keybindings (aka lsp_symbol_definition command longer works). Basically lsp_symbol_definition + side_by_side=True command only works the first time.

Environment:

  • OS: Ubuntu 22.04
  • Sublime Text version: 4147
  • LSP version: 1.21.0
  • LSP-pyright version: 1.2.9
  • Language servers used: not sure
@rchl
Copy link
Member

rchl commented Jan 23, 2023

Sounds like the issue that was just fixed (worked around) in #2174. It will be included in the next LSP version.

@rchl
Copy link
Member

rchl commented Jan 23, 2023

Duplicate of #1979

@rchl rchl marked this as a duplicate of #1979 Jan 23, 2023
@rchl rchl closed this as completed Jan 23, 2023
@giampaolo
Copy link
Author

Thanks for the quick response @rchl. This package is essential, so I'm glad to see it's so actively and well maintained.

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