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 no longer working on C# files

See original GitHub issue

Environment data

dotnet --info output:

.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

VS Code version: 1.16.1 64 bit

C# Extension version: 1.12.1

Steps to reproduce

I open a C# file and try to get intellisense. It did not working in the 32 bit version and I just now installed 64 bit. I uninstalled and reinstalled C# extension but cannot get any intellisense working in C#.

Expected behavior

Intelliense

Actual behavior

No intellisense in C#

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
shaan1337commented, Dec 11, 2017

This worked for me, it seems that the wrong project was being selected by Omnisharp:

  1. Open the command palette: Ctrl-Shift-P
  2. Type: Omnisharp: Select Project
  3. Select the correct project
  4. Open the command palette: Ctrl-Shift-P
  5. Type: Omnisharp: Restart Omnisharp

Then it started to work again.

0reactions
cartermpcommented, Sep 15, 2020

Closing this older issue out - there have been a lot of improvements to OmniSharp over the past 3 years, and it’s likely that this issue was resolved. But if you still see it with an updated VSCode and C# plugin, please ping here and we can re-open it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense not working in some files when using C++20 ...
A fix for this issue has been released! Install the most recent release from https://visualstudio.microsoft.com/downloads/.
Read more >
vscode Intellisense not working - Stack Overflow
I use the WSL and my intellisense was not working. So I go to the C/C++ Extension: Configuration thanks to your keyboard shortcut...
Read more >
Intellisense not working · Issue #5963 · microsoft/vscode ...
The "file not found" error message is from the C/C++ Clang Command Adapter extension and not the C++ extension. You are right about...
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 not working in VS Code - The Windows Club
It works by recording text input and interpreting it upon syntax file. If IntelliSense in Visual Studio 2019 stopped working, the issue could...
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