Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# syntax error hints disappear after a few seconds #14844

Closed
zeyangl opened this issue Nov 2, 2016 · 5 comments
Closed

C# syntax error hints disappear after a few seconds #14844

zeyangl opened this issue Nov 2, 2016 · 5 comments
Labels
info-needed Issue requires more information from poster

Comments

@zeyangl
Copy link

zeyangl commented Nov 2, 2016

  • VSCode Version: 1.6.1
  • OS Version: macOS 10.11.6 (15G1108

C# syntax error hint disappears after a few seconds.

Steps to Reproduce:

  1. make a C# file
  2. install C# plugin (1.4.1)
  3. write a simple C# class
  4. intentionally cause a syntax error.
  5. observe red hints on the syntax error.
  6. wait a couple of seconds, error hints disappear.

I expect this to be a VSCode issue instead of OmniSharp, since the syntax hints did show up correctly, only to disappear in a couple of seconds.

@rebornix
Copy link
Member

rebornix commented Nov 2, 2016

@zeyangl I'll say let's start with OmniSharp as we don't know yet whether OmniSharp regards it as no longer an error after a couple of seconds, please file issues there and if OmniSharp confirms there is not any C# or OmniSharp related stuff, let's then take a look into it.

@rebornix rebornix added the info-needed Issue requires more information from poster label Nov 2, 2016
@zeyangl
Copy link
Author

zeyangl commented Nov 4, 2016

It appears to be fixed in 1.7.1 release. OmniSharp version remains the same though, so probably a nice side effect of some other fix in vscode.

@marcelush
Copy link

marcelush commented Nov 5, 2016

I am still having same issue on Ubuntu 14.04, insiders and stable Version 1.7.1.
Maybe is because of big projects, the problem doesn't occur when testing a small project.

Initially i was suspecting the auto save feature to have something to do about it, but i tested with all possible options.

Warnings and info remain, but errors disappear about 2 seconds after code change (saved or not).

Same project works fine in Windows with vscode 1.7.1

@aeschli
Copy link
Contributor

aeschli commented Nov 7, 2016

This issue was moved to dotnet/vscode-csharp#883

@aeschli aeschli closed this as completed Nov 7, 2016
@HawkenKing
Copy link

HawkenKing commented Nov 8, 2016

I get this same issue on mac, using with unity
c# version 1.4
code version 1.7.1

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants