-
Notifications
You must be signed in to change notification settings - Fork 805
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
FCS caches does not work when a file opens #2324
Comments
This fetches the results cached by the IncrementalBuilder (i.e. the background build process). I believe we have quite a lot of tests checking that re-checking doesn't happen (counting the number of checks). That's not to say there isn't some kind of bug. For the repro steps above I would expect considerably less time on second opening, as long as the project itself has not been closed. |
I've investigated it. Create a hello world app, open a file, wait for coloring, close it, reopen. I know nothing about this vectors stuff. @dsyme any ideas what's going wrong? |
It looks like I think it's a huge bug. |
Fixed.
I'm surprised anything worked at all :( |
Fixed in #2395 |
Moving to VS Updates now 😄 |
service.fs
The same behavior is observed when another file, even small one, is opened after the first one is fully checked. Looks like https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/vs/service.fs#L2413 checks all files laying prior to the current every time (however, I've not looked at it closely yet).
The text was updated successfully, but these errors were encountered: