ionide-vscode-fsharp icon indicating copy to clipboard operation
ionide-vscode-fsharp copied to clipboard

Errors persist even if the code is fine again

Open MangelMaxime opened this issue 2 years ago • 2 comments

Describe the bug

Since upgrading to version of Ionide 7.1.0, I am experimenting some strange behaviour from the intellisense and diagnostics.

See this error message:

image

It is complaining about a projlet variable while the actual variable name is proj. If I reload Ionide the problem disappear.


One way to produce a similar problem is to type a bunch of random text very quickly. And then clean the random text and see that even if the code should be fine there are errors persisting.

https://user-images.githubusercontent.com/4760796/185741028-b94f8ff5-5599-4d12-bbde-67c084e000af.mp4

See how once Ionide is related the code is indeed valid

Here I demonstrated it for errors, but this also impact the intellisense because it doesn't auto complete what we would expect it to. Something providing no intellisense at all or something result for another line.

I suspect that this is related to the introduction of Incremental text sync

Machine info

  • OS: Windows
  • .NET SDK version: [e.g. 5.0.100]
  • Ionide version: 7.1.0

Additional context

Add any other context about the problem here.

MangelMaxime avatar Aug 20 '22 10:08 MangelMaxime

I have registered a related FSAC issue here:

  • https://github.com/fsharp/FsAutoComplete/issues/996

razzmatazz avatar Aug 20 '22 17:08 razzmatazz

I am seeing a similar behavior since upgrading to 7.1.0

kevingentile avatar Aug 23 '22 20:08 kevingentile

I think this issue has been fixed

MangelMaxime avatar Mar 11 '23 20:03 MangelMaxime