20

Problem

It keeps being stuck in Loading when I hover on a variable/method/import. Normally you can ctrl + click to see the reference on the entity.

Background info

  • Using VS Code version 1.95.2 for a typescript project
  • Other ts projects don't have the issue
  • This project is fairly large, but other people don't have this problem on VS Code
  • It had been working fine a few days ago for me, only me making very minor code changes
  • Manually updated VS Code from 1.8x to 1.95.2 a few days ago

Attempts tried:

  • Restart VS Code alone --> does not work
  • Reboot PC --> works temporarily (stops working after an hour or so)
  • Switch Intellisense typescript version from vs code version to workspace version --> works temporarily after restarting VS Code alone
  • Switch Intellisense typescript version to use the nightly ts version as seen in this git issue --> works temporarily after restarting VS Code alone
  • Clean reinstall of the same version 1.95.2 --> does not work
  • Should be unrelated: npm install again after deleting node_modules and package-lock.json --> does not work

Thinking of now experimenting with clean installing to the older version I had. Or migrating to use other IDEs.

Edit: I find that if I disable the github copilot extension, Intellisense works fine again.

2
  • 1
    Having the same issue from yesterday Commented Nov 14, 2024 at 18:39
  • @AlexanderNenashev refer to point #3 of the "Attempts Tried", tried that already Commented Nov 15, 2024 at 2:32

10 Answers 10

15

I had a similar issue today. The only way to make it work is to disable GitHub Copilot and create a new chat dialog instead of leaving the old conversation there. I guess the issue is caused by GitHub copilot's trying to mess around the workspace

Sign up to request clarification or add additional context in comments.

3 Comments

Goodness it was Copilot
It wasn't copilot
It was also for me
8

Disabling this setting did the trick for me—I didn’t have Co-Pilot installed, and I was having the same issue

enter image description here

5 Comments

This fixed it for me too.
This fixed for me as well. I am using cursor and didnt have copilot installed
Thank you so much! Worked for me combined with disabling all extensions besides TS Nightly and Vue Official. Didn't work when I had only only done of these actions, only when I did both. I'm yet to find what exact extension was causing this... But I have 63 of them, most of which I don't even need anymore so I don't think I will be wasting time on figuring it out. I will update the comment if I do.
UPD: it stopped working after a while and then started working again when I disabled TS Nightly. Now it just always works. So as a conclusion it was disabling this setting and the Nightly extension for me
I'm also experiencing a similar Issue and even tough disabling copilot did the trick initially but then I lost TS intellisense again. I opened another project, and reopened the one I'm experiencing the problem. I restart the TS server and it works right now
7

Same issue here, copilot was the reason. I tried everything including,

  • Delete all vscode extensions
  • Reinstall only needed extensions

Still the same.

However, when i disabled copilot extension it started working again.

Comments

5

Restarting the Co-Pilot extension solved for me.

Comments

4

This solved the issue for me:

  • Go to your extensions

  • Search for GitHub Copilot

  • Click disable

  • Restart the extension

Comments

1

Had the same issue yesterday after updating VS code in my Mac.

Tried to quit vs code and restart and nothing; tried to restart computer and nothing; came to this post and tried to uninstall copilot extension and restart vs code and nothing.

What worked for me was to quit vs code, wait for about 3 minutes and clear cache with the commands below and then waited another hour (went for a brekky) opened vs code and everything was working as it should.

PS: It is important to wait at least a minute after quitting vs code to run these commands.

rm -rf ~/Library/Application\ Support/Code/CachedData

rm -rf ~/Library/Application\ Support/Code/Cache

rm -rf ~/Library/Application\ Support/Code/Service\ Worker

Hope this can help someone. Cheers!

Comments

0

Restarting the Copilot did not work for me. Only disabling it.

Version 1.303.0
Last Updated 2025-04-22, 21:45:09

I tried to update the extension but the pre-release version is not supported via the stable version of VSCode.

I tried a few older versions like

Version 1.297.0
Last Updated 2025-04-22, 21:34:04

But if I found a fix, it was only temporary.

If anyone can provide a working version number, that would be perfect. :)

Comments

0

I just rename directory ~/.config/Code, then start "code" and rename back. seems like working

Comments

0

deleting ~/.config/Code solved the issue for me.

Comments

0

I had this problem and I tried all of what the other guys said here, but none of them worked for me. At last, I uninstalled the GitHub Copilot extensions and disabled the Copilot feature in VS Code, as it seemed this conflict was causing an issue in my workspace. Then, I deleted my project and cloned it again from GitHub, which fixed the issue.

If I want to explain it:

  1. Uninstall GitHub Copilot extensions.

  2. Go to VS Code settings and search for the feature:chat and check Chat: Disable AI Features.

  3. Remove your project.

  4. Reclone it from GitHub.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.