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

F12 on 'new' borks the language server #19

Open
jamshark70 opened this issue Nov 11, 2023 · 1 comment
Open

F12 on 'new' borks the language server #19

jamshark70 opened this issue Nov 11, 2023 · 1 comment

Comments

@jamshark70
Copy link
Contributor

Not sure if this is a language server or vscode plugin issue.

I had a bit of code saying Document.new(...) and I wanted to jump to new. So I put the cursor on new and hit F12, and the blue progess thingy at the top of the window kept going and going and going...

At this point, the interpreter is OK (shift-return, no problem) but no language server interaction works anymore. Even "restart sclang" gives an error (stopping the server timed out).

F12 on a method name with fewer implementations (e.g. sched or use) works fine. So it may be a scalability problem.

@scztt
Copy link
Owner

scztt commented Apr 18, 2024

Yes, this is probably just because there's a new method for every class, so it's trying to return a list of a few thousand. I need to rework this to use streams / routines to provide results, so that partial results can be sent.

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

No branches or pull requests

2 participants