question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'go to function definition' very slow and stuck

See original GitHub issue

OS/Web Information

  • Web Browser:Chrome
  • Local OS:mac
  • Remote OS:Ubuntu
  • Remote Architecture:
  • code-server --version:v3.9.3

Steps to Reproduce

1.when I put the cursor on the function to look up the function args 2.Or click on the function name to go to definition

Expected

qucikly show the definitions

Actual

everytime I restart the codeserver, it work once.But after once 'loading… 'appears when I put the cursor on the function.And a progress bar appears when i click on the function.Then it stucks and shows nothing.

Screenshot

image

Notes

I have the same question on my vscode to remote to my own machine. have fixed it by install pylance and set it the python server althoug the speed is still a little slow.But it doesn’t work for codeserver, and code-server doesn’t have pylance extentions online. I installed it offline by downloading from the web. Also solvments about typescript@next doesn’t work for me either. By the way, I am using codeserver on company’s machine which has , everytime when I start code server, it shows image

This issue can be reproduced in VS Code: Yes

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
code-ashercommented, Apr 21, 2021

I wonder if service workers are required for the goto functionality. If that’s the case the SSL issue will need to be resolved to get this working.

0reactions
code-ashercommented, Apr 26, 2021

It’s strange that it works once. You were able to replicate this in local VS Code?

You could try launching chrome with chrome --ignore-certificate-errors just to see if the certificate is causing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Go To Definition Very Slow, Often Hangs Indefinitely #4130
More often than not, the process hangs indefinitely, not slowing vscode in any way, but showing the bar representing an async process happening ......
Read more >
VSCode "go to definition" not working - Stack Overflow
Basically my project grew too large and VS code was no longer able to track all files, which messed up the "go to...
Read more >
Very slow "Go to definition" - MSDN - Microsoft
I'm trying VS Code with Haskell and having issue: "Go to Definition" occurs very slow (for example 10 seconds). Also I have multifolders ......
Read more >
Fixing Intellisense and Go To Definition in Visual Studio 2019
Here's how I fixed my missing Intellisense and nonfunctional Go To Definition in Visual Studio 2019. (If you're just looking for the solution, ......
Read more >
Why is my SQL Server Query Suddenly Slow? | How To Fix
Open SQL Monitor, navigate to the affected instance and open the Overview screen and examine the interactive activity graph for the period in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found