Skip to content

Errors / warnings in VSCode not cleaned up after file rename #329

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

Closed
pcgeek86 opened this issue Oct 28, 2016 · 4 comments
Closed

Errors / warnings in VSCode not cleaned up after file rename #329

pcgeek86 opened this issue Oct 28, 2016 · 4 comments
Labels
Issue-Bug A bug to squash.

Comments

@pcgeek86
Copy link
Contributor

pcgeek86 commented Oct 28, 2016

System Details

  • Operating system name and version: Windows 10 Anniversary
  • VS Code version: 1.6.1
  • PowerShell extension version: 0.7.2
  • Output from $PSVersionTable:
Name                           Value                                                                                   
----                           -----                                                                                   
PSVersion                      5.1.14393.206                                                                           
PSEdition                      Desktop                                                                                 
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
BuildVersion                   10.0.14393.206                                                                          
CLRVersion                     4.0.30319.42000                                                                         
WSManStackVersion              3.0                                                                                     
PSRemotingProtocolVersion      2.3                                                                                     
SerializationVersion           1.1.0.1                                                                                 

Issue Description

When you rename a file, the syntax errors don't get cleaned up. Over time, you end up accumulating a large number of reported errors, that don't actually exist. When you click on one of these errors in a non-existent file, VSCode asks if you want to create the file.

image

image

Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86

@daviwil daviwil added the Issue-Bug A bug to squash. label Oct 28, 2016
@daviwil daviwil added this to the Backlog milestone Oct 28, 2016
@daviwil
Copy link
Contributor

daviwil commented Oct 28, 2016

Hmmm, interesting. I've seen VS Code not be very thorough about cleaning up warning/errors but maybe we're causing this somehow. I'll look into it, thanks!

@GHRoss
Copy link

GHRoss commented Dec 8, 2016

I have seen this too. A restart seems to clear.

@daviwil
Copy link
Contributor

daviwil commented Dec 15, 2016

Verified the issue, I suspect this is due to using a sorely outdated version of vscode-languageclient. I'll check on this again after we update to the latest version.

@SydneyhSmith
Copy link
Collaborator

I am having trouble re-producting this issue and am guessing it has been fixed. Will re-open if it is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

5 participants