Compilation Hints Get Scrambled
See original GitHub issueFrom @jrieken on May 23, 2016 10:59
From @robbpriestley on May 22, 2016 16:47
- VSCode Version: 1.1.1
- OS Version: OSX El Capitan 10.11.4
This has been an annoying issue ever since I started using VS Code in March. I’ve been living with it and don’t want to complain because I love VS Code, but perhaps it will help if I report it.
Steps to Reproduce:
- Work normally and do a minor refactor, change the signature of a method, or modify a class structure
- The compilation hints spontaneously get all scrambled and remain that way
Sometimes clicking on the error list and selecting an “error” from the list jumps me to the source location helps to snap VS Code out of it, but most often I need to save everything and restart VS Code to fix it. Then it “re-indexes” the code and the mistaken compilation error hints go away. Executing dotnet build
doesn’t do it.
Attached is a screenshot showing a very weird one that occurred spontaneously just now.
Type 'ServiceLogRepository' already defines a member called '.ctor' with the same parameter types [netcoreapp1.0]
I hope I’m getting the terminology decently OK here, there are probably better names for things.
Copied from original issue: Microsoft/vscode#6632
Copied from original issue: OmniSharp/omnisharp-roslyn#559
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top GitHub Comments
Hello,
I’m using Emacs with omnisharp recently and encountered this problem. Even for simple console project.
System:
Steps to reproduce:
Here’s the log
omnisharp.log
Workaround: At the moment I use v1.32.0 which doesn’t have this issue.
@DustinCampbell I don’t know exactly what you guys did or fixed, but things are working so much better now. It’s so much less frustrating now that my compilation hints are accurate and reliable. Thank you!