Skip to content

side_by_side feature sometimes works #1979

@dmilith

Description

@dmilith

Describe 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.

To Reproduce
Start ST
Install any LSP package, make sure it works for your project
Hit your shortcut action with "side_by_side" set to true
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.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: macOS 12.4
  • Sublime Text version: 4134
  • LSP version: 1.16.3
  • Language servers used: LSP-bash, LSP-shellcheck, LSP-Rust-analyzer, … the same for all I've tried

Additional context
none

Metadata

Metadata

Assignees

No one assigned

    Labels

    sublime issueIssues related to shortcomings or bugs in the ST API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions