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

Live Share support in Visual Studio #9148

Open
charlesroddie opened this issue May 6, 2020 · 2 comments
Open

Live Share support in Visual Studio #9148

charlesroddie opened this issue May 6, 2020 · 2 comments
Labels
Area-VS VS support for F# not covered elsewhere Feature Request
Milestone

Comments

@charlesroddie
Copy link
Contributor

It would be good to get better support for Live Share for collabarative coding in F#.

Official status: "single file language services" but not "project-wide language services".

There is already a baseline of support which is usable for some scenarios where developers joining a live share are confident enough to code without computer support.

Based on the test below, the main issue is inter-project information within F#. It's possible that the situation would be improved by disabling Text Editor -> F# -> Performance -> Enable In-memory cross project references on the host system. We will test this.

Live share 1.0.2104.0 test on Visual Studio 2019.5

Type information: OK within files and via compiled dlls only.

  • Within files: working
  • Between F# files within projects: not working
    • Most things are described as System.Object
  • Between F# projects: not working
  • Between C# and F# projects: working
  • Nuget packages (whether written in C# or F#): working

Type errors: not showing

type A = | B of unit | C of int
let x = B // OK. Reports the type of x.
let y:unit = B // Doesn't give an error
let z = B + C // Doesn't give an error. Doesn't report the type of Z.

This needs more testing as the flow of type information within a file isn't pinned down by this data.

@cartermp
Copy link
Contributor

cartermp commented May 6, 2020

Note for clarity: this is for Visual Studio, since Live Share works fully with VSCode

@charlesroddie charlesroddie changed the title Live Share support Live Share support in Visual Studio May 6, 2020
@dsyme
Copy link
Contributor

dsyme commented Apr 21, 2022

See also dotnet/project-system#8088

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VS VS support for F# not covered elsewhere Feature Request
Projects
Status: New
Development

No branches or pull requests

3 participants