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

side_by_side is broken with LSP #5474

Closed
dmilith opened this issue Jun 28, 2022 · 2 comments
Closed

side_by_side is broken with LSP #5474

dmilith opened this issue Jun 28, 2022 · 2 comments

Comments

@dmilith
Copy link

dmilith commented Jun 28, 2022

Description of the bug

Given that keybindings have a command using the "side_by_side" arguments like this:

{
    "command": "lsp_symbol_declaration",
    "keys": ["super+shift+e"], "context": [
          {"key": "selector", "operator": "equal", "operand": "source"}
      ],
    "args": {"side_by_side": true}
  }

is causing LSP features NOT to work in opened split window. It affects all LSP servers, it's a general issue.

Steps to reproduce

  1. Start ST
  2. Install any LSP package, make sure it works for your project
  3. Hit your shortcut action with "side_by_side" set to true
  4. Now on the split window (usually on the right) all LSP functionality is no longer enabled.

Expected behavior

All LSP functionality should work normally when side_by_side is set to true.

Actual behavior

Functionality is very limited in the split window.

Sublime Text build number

4134

Operating system & version

macOS 12.4

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

No response

@BenjaminSchaaf
Copy link
Member

That sounds like an issue with the LSP package(s). I suggest filing an issue here: https://github.com/sublimelsp/LSP

@rchl
Copy link

rchl commented Jun 28, 2022

The underlying core issue that makes it an issue for LSP is #2411 . I'll make a comment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants