Skip to content

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

@pcgeek86

Description

@pcgeek86

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions