Skip to content
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

F#: Editor features (intellisense etc) don't work after deleting ".vs" #3788

Closed
0x53A opened this issue Jul 25, 2018 · 6 comments
Closed

F#: Editor features (intellisense etc) don't work after deleting ".vs" #3788

0x53A opened this issue Jul 25, 2018 · 6 comments
Assignees
Milestone

Comments

@0x53A
Copy link

0x53A commented Jul 25, 2018

grafik

  1. Create a new F# project Console App (.NET Core)

  2. Let VS do its thing, after a few seconds everything works. Do a build for good measure.
    grafik

  3. Close VS and delete the .vs directory

  4. reopen the solution: build works, but editor features don't
    grafik

  5. Restart VS one more time, after that, everything works again

@0x53A 0x53A changed the title F#: implicit restore doesn't work after deleting ".vs" F#: Editor features (intellisense etc) don't work after deleting ".vs" Jul 25, 2018
@Pilchie
Copy link
Member

Pilchie commented Jul 25, 2018

@TIHan can you take a look at this?

@TIHan
Copy link
Contributor

TIHan commented Jul 25, 2018

Yes, going to look at it now.

@Pilchie Pilchie added this to the 15.8 milestone Jul 25, 2018
@Pilchie
Copy link
Member

Pilchie commented Jul 25, 2018

Leaving in 15.8 for investigations.

@TIHan
Copy link
Contributor

TIHan commented Jul 26, 2018

I know what is happening now. F#'s language service is not being initialized unless a document has been opened. This means we miss out on all the workspace events that F#'s language service needs.

To be more specific, FSharpPackage doesn't get initialized until a F# document has been opened.

@TIHan
Copy link
Contributor

TIHan commented Jul 26, 2018

I have a fix for this coming. It is a bug in the F# language service.

@davkean
Copy link
Member

davkean commented Jul 27, 2018

This issue was moved to dotnet/fsharp#5395

@davkean davkean closed this as completed Jul 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants