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.

Intellisense suddenly disappears

See original GitHub issue

Environment data

dotnet --info output:

.NET Core SDK (reflecting any global.json):
 Version:   2.2.105
 Commit:    7cecb35b92

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/2.2.105/

Host (useful for support):
  Version: 2.2.4
  Commit:  f95848e524

.NET Core SDKs installed:
  2.2.105 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

VS Code version: 1.33.1 (x64) C# Extension version: 1.19

Steps to reproduce

General use (have successfully reproduced on a different WIN10 x64 machine)

Expected behavior

Should not disappear. Seems that it’s hidden because It’s refreshing/reloading or something (my best guess).

Actual behavior

Intellisense disappears suddenly

Screenshots/proof

intellisense-problem

It actually seems to be getting reset once VSCode adds the auto-newline at the end of the file, if you look closely.

Also, similar problem occurs when I have:

  1. My mouse hovering over another entity (class, variable, etc.) anything that would trigger a tooltip.
  2. Have intellisense visible (I use CTRL + Space to show it).

intellisense-problem-2

My intellisense just disappears, kind of conflicting. I have to be forced to move the mouse where it’s not hovering anything for it to work.

Please fix this, as it is super annoying!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:9
  • Comments:9

github_iconTop GitHub Comments

2reactions
marcinjakubowskicommented, Jun 18, 2019

For me, it only disappears when invoking a quick-fix to import a reference for the first time in a given file (1.35.1 on .net core 3-preview6). Works fine on subsequent try.

Peek 2019-06-18 16-45

Most of the time it disappears faster than on the capture here.

dotnet --info:

.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview6-012264
 Commit:    be3f0c1a03

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.10
 OS Platform: Linux
 RID:         ubuntu.18.10-x64
 Base Path:   /home/.../projects/SDK/dotnet/sdk/3.0.100-preview6-012264/

Host (useful for support):
  Version: 3.0.0-preview6-27804-01
  Commit:  fdf81c6faf

.NET Core SDKs installed:
  3.0.100-preview6-012264 [/home/.../projects/SDK/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [/home/.../projects/SDK/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0-preview6-27804-01 [/home/.../projects/SDK/dotnet/shared/Microsoft.NETCore.App]


Visual Studio Code

Version: 1.35.1
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:27:31.086Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.18.0-21-generic
2reactions
r734commented, May 12, 2019

Same issue here, and it’s been going on for a few weeks on multiple machines running Ubuntu 18.04.

dotnet --info

.NET Core SDK (reflecting any global.json):
 Version:   2.2.203
 Commit:    e5bab63eca

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/2.2.203/

Host (useful for support):
  Version: 2.2.4
  Commit:  f95848e524

.NET Core SDKs installed:
  2.2.203 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

(Note same Host commit as original reporter)

VS Code info:

Version: 1.33.1
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:20:22.771Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-48-generic

The only extensions I have enabled are C#, C# Extensions, and Docker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense constantly disappears - Visual Studio Feedback
This happens to me too, constantly (at lease once every hour). It happens both at work and at home, so separate projects (work...
Read more >
Why does intellisense and code suggestion stop working ...
Another silly cause for missing function argument Intellisense can be an inaccessible protection level. For example, a protected ctor instead of public ....
Read more >
Visual Studio IntelliSense Not Working? What To Do.
Visual Studio IntelliSense Stopped Working. What To Do? · Workaround #1: Restart Visual Studio · Workaround #2: Restart Your Machine · Workaround # ......
Read more >
Intellisense constantly stops working – ReSharper Support
When this happens, if I switch the resharper setting to use Visual Studio's intellisense instead of Resharper's own version, then intellisense ...
Read more >
Fixing Visual Studio Intellisense Errors - Rick Strahl's Web Log
In these older versions you can fix Intellisense issues by deleting the Solution's .suo file. Deleting the .vs folder in newer version nukes...
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