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

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

Open
2 of 3 tasks
morhaham2 opened this issue Sep 3, 2024 · 1 comment
Open
2 of 3 tasks
Labels

Comments

@morhaham2
Copy link

Thank you for the bug report

  • I am using the latest version of lsp-mode related packages.
  • 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 morhaham2 added the bug label Sep 3, 2024
@yyoncho
Copy link
Member

yyoncho commented Sep 23, 2024

Does it unfreeze when you do C-g? If yes, can you do the following: M-x toggle-debug-on-quit, reproduce the bug, and paste the callstack you see after C-g.

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

No branches or pull requests

2 participants