LSP icon indicating copy to clipboard operation
LSP copied to clipboard

`...` annotations popping up

Open KGOH opened this issue 8 months ago • 1 comments

Describe the bug

With code lens disabled sometimes I observe ... popping up in the right side of all views after I edit code.

To Reproduce Prepare a file that defines a symbol (a function) that's used in some other files within the project. (I.e. a file with a function that would have "1 reference" showed if code lens were enabled)

  1. Put
      "disabled_capabilities": {
        "codeLensProvider": true
      },
    
    into your LSP configuration
  2. Open a file with LSP enabled, wait for LSP to start.
  3. Edit the name of the function
  4. Undo the edit
  5. Observe ... in the right side of the view

Expected behavior

No ... annotation on the screen

Screenshots

https://github.com/sublimelsp/LSP/assets/11963737/eafda1b5-132d-4eb8-9d02-2bbc40e992d5

Logs

LSP_log.txt LSP_log_debug.txt

[Troubleshooting output]

Troubleshooting: ClojureHelper

Version

  • LSP: 2.1.0
  • Sublime Text: 4169

Server Test Run

  • exit code: 0
  • output

Server Configuration

  • command
[
  "clojure-lsp"
]
  • shell command
clojure-lsp
  • selector
source.clojure
  • priority_selector
source.clojure
  • init_options
{}
  • settings
{}
  • env
{}

Active view

  • File name
/Users/kgofhedgehogs/Work/ps/src/ps.cljc
  • Settings
{
  "auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
  "lsp_active": true,
  "syntax": "Packages/Clojure/ClojureScript.sublime-syntax"
}
  • base scope
source.clojure.clojurescript

Project / Workspace

  • folders
[
  "/Users/kgofhedgehogs/Work/ps"
]
  • is project: False

LSP configuration

{
  "log_debug": true,
  "show_code_actions": "bulb",
  "show_view_status": false
}

System PATH

  • /usr/local/bin
  • /usr/bin
  • /bin
  • /usr/sbin
  • /sbin
  • /Library/Apple/usr/bin
  • /opt/homebrew/opt/arm-gcc-bin@8/bin
  • /opt/homebrew/opt/avr-gcc@8/bin
  • /opt/homebrew/opt/qt@5/bin
  • /opt/homebrew/sbin
  • /Users/kgofhedgehogs/.jenv/shims
  • /Users/kgofhedgehogs/bin
  • /opt/homebrew/bin
  • /Users/kgofhedgehogs/.orbstack/bin

Environment (please complete the following information):

  • OS: macOS 12.7.4
  • Sublime Text version: 4169
  • LSP version: 2.1.0
  • Language servers used: Clojure

Additional context "ClojureHelper" source located here: https://github.com/sublimelsp/LSP/issues/1844#issuecomment-961214237

KGOH avatar Jun 22 '24 10:06 KGOH