Open drizztdourden08 opened 2 years ago
I've found errors will stick around even after the file is deleted. Unrelated to this extension, git-staged/indexed YAML files (redhat.vscode-yaml) have the same issue. This may be a case of multiple extensions making the same mistake or it's all VSCode's fault.
Issue Description
Errors are staying in the list after they've been corrected. It requires a re-compile to actually clear the error from the queue. Sometime, it can be very confusing to actually try and fix error when there is actually none at all. That's especially true for missing ";" or thing that are simple as you end up searching something that doesn't exist. Until I figured out it was just not clearing, I spent a long time searching for bits and pieces that weren't there and not understanding why the code actually ran.
See screenshot for when it tells me the function doesn't exist when it actually does. The error is actually from before I corrected the code (because I renamed the function).
Steps to Reproduce
No real "steps" here. They just stay there until the code is recompiled and run.
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.63.2 C# Extension: 1.23.17
Dotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.101 Commit: ef49f6213a Runtime Environment: OS Name: Windows OS Version: 10.0.22000 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\6.0.101\ Host (useful for support): Version: 6.0.1 Commit: 3a25a7f1cc .NET SDKs installed: 6.0.101 [C:\Program Files\dotnet\sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |bracket-pair-colorizer-2|CoenraadS|0.2.2| |code-stats-vscode|riussi|1.0.18| |codetime|Jannchie|0.0.15| |context-menu-toggle-comments|henryclayton|1.0.4| |copilot|GitHub|1.7.4608| |csharp|ms-dotnettools|1.23.17| |git-graph|mhutchie|1.30.0| |github-vscode-theme|GitHub|5.1.0| |gitlens|eamodio|11.7.0| |html-preview-vscode|tht13|0.2.5| |increment-selection|albymor|0.2.0| |incrementor|nmsmith89|1.0.3| |material-icon-theme|PKief|4.11.0| |path-autocomplete|ionutvmi|1.18.0| |regex|chrmarti|0.4.0| |regexhighlighter|TatsuyaNakamori|0.0.1| |regexp-preview|LouisWT|0.1.5| |theme-bracketsdark|ullissescastro|1.0.1| |unity-debug|Unity|3.0.2| |vscode-counter|uctakeoff|3.0.0| |vscode-css-formatter|aeschli|1.0.2| |vscode-eslint|dbaeumer|2.2.2| |vscode-firefox-debug|firefox-devtools|2.9.6| |vscode-git-buttons|rioukkevin|0.0.2| |vscode-html-css|ecmel|1.10.2| |vscode-stylelint|stylelint|1.2.1|;