lsp-mode icon indicating copy to clipboard operation
lsp-mode copied to clipboard

Emacs freezes with `lsp-doc-enable-hover` enabled on large text (ts-ls)

Open morhaham2 opened this issue 5 months ago • 1 comments

Thank you for the bug report

  • [X] I am using the latest version of lsp-mode related packages.
  • [X] I checked FAQ and Troubleshooting sections
  • [ ] You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain

Bug description

Emacs freezes displaying large variable type in echo line.

Steps to reproduce

Hover a symbol which his type is a very large string, like a string variable in typescript when its type is the string value itself.

Expected behavior

Handle large signatures well

Which Language Server did you use?

typesceipt ts-ls

OS

MacOS

Error callstack

No response

Anything else?

No response

morhaham2 avatar Sep 03 '24 09:09 morhaham2