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.

Code hinting messed up, references missing since last C# extension update.

See original GitHub issue

Environment data

dotnet --info output: VS Code version: 1.3.1 C# Extension version: 1.2

Steps to reproduce

I updated my C# extension

Expected behavior

Work as normal.

Actual behavior

All my code doesn’t seem to correctly code hint anymore – references are not coming up and if I write jibberish, it doesn’t mark it as an error.

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
eric-swann-q2commented, Jul 19, 2016

In my case, user error. I have a nested solution with src and test folders and didn’t realize I had to set the containing folder in VSCode as the project root (on the status bar). That’s surprisingly unintuitive for somebody new to the IDE. I thought it would pick up the settings from the global.json on it’s own.

1reaction
armartinezcommented, Jul 17, 2016

I’m having the same issue with .NET Core Project, I get a lot of errors similar to this:

The type or namespace name ‘System’ could not be found (are you missing a using directive or an assembly reference?) [netcoreapp1.0]

I’m running VS Code version: 1.3.1 with C# Extension version: 1.2.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense in Visual Studio Code
This issue is caused by missing type declaration (typings) files in JavaScript. You can check if a type declaration file package is available...
Read more >
Why does intellisense and code suggestion stop working ...
The only solution that I have tried is to reset all my settings, close out of Visual Studio completely and reopen the project...
Read more >
Intellisense not working for Visual Studio Code - Unity Forum
Problem : 1. Intellisense and Autocomplete not working for VScode. 2. Opening c# script within the editor opens VSCode. However, VScode Doesn't ...
Read more >
SyntaxError: missing ) after argument list - JavaScript | MDN
There is an error with how a function is called. This might be a typo, a missing operator, or an unescaped string, for...
Read more >
Common issues and solutions - mypy 0.991 documentation
There are several common reasons why obviously wrong code is not flagged as an error. ... For example, let's say our code is...
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