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.

Compilation Hints Get Scrambled

See original GitHub issue

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:

  1. Work normally and do a minor refactor, change the signature of a method, or modify a class structure
  2. 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.

untitled

Copied from original issue: Microsoft/vscode#6632

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
robbpriestleycommented, Aug 12, 2016

This continues to be a really serious usability problem and in my humble opinion it should be top priority to fix. Easy for me to say, I know, but here’s an example:

I’m doing a refactor today and I’ve quite literally needed to restart VS Code a dozen times in order to clear the scrambled compilation hints. Now members of my team are reporting it as a distraction as well. It’s more than just annoying, it leads to incorrect conversations between team members as well, and is a productivity hit.

2reactions
robbpriestleycommented, May 23, 2016

Here’s another interesting one:

The call is ambiguous between the following methods or properties: ‘ISocialMediaRepository.Add(SocialMedia)’ and ‘ISocialMediaRepository.Add(SocialMedia)’ [netcoreapp1.0]

Read more comments on GitHub >

github_iconTop Results From Across the Web

Word Scramble Solver
Need to find a high scoring word to play? We have the most comprehensive site on the web when it comes to word...
Read more >
78 unscrambled words from letters COMPILE
7 letter words by unscrambling compile. compile · polemic. 6 letter words by unscrambling compile. compel · police. 5 letter words by unscrambling...
Read more >
Solved: Re: Scrambled Icons - Answers HQ
You get the wrong icons for outfit options and the simology tab looks wrong. Have you installed any customization with the game, e.g....
Read more >
Value of enum class gets scrambled when stored to std::pair
I have defined custom enum class as follows enum class BaseType:std::uint8_t{ ENUM = 0x00, SINT8 = 0x01, UINT8 = 0x02, SINT16 = 0x83, ......
Read more >
understanding build vs rebuild vs make vs compile
Hello. "Build" action exists only for artifacts. For sources there is Compile, Make and Rebuild. For a quick guide see: http://www ...
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