-
Notifications
You must be signed in to change notification settings - Fork 842
Replaced old language service with Roslyn-based one #974
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
Conversation
| </Vsix> | ||
| </Installation> | ||
| <Dependencies> | ||
| <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does 4.5 here mean anything? i.e. should it be 4.6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing to 4.6 to align to Roslyn's binaries
| let projectId = workspace.ProjectTracker.GetOrCreateProjectIdForPath(site.ProjectFileName(), site.ProjectFileName()) | ||
| if obj.ReferenceEquals(workspace.ProjectTracker.GetProject(projectId), null) then | ||
| let projectSite = new FSharpProjectSite(hier, this.SystemServiceProvider, workspace, site.ProjectFileName()); | ||
| projectSite.Initialize(hier, site) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider extracting a local for site.ProjectFileName().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
|
||
| let references = this.GetReferences(site.CompilerFlags()) | ||
| // Added references | ||
| references |> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first traversal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check above comment
|
LGTM |
Replaced old language service with Roslyn-based one
|
This is such a great start - super to see this. |
@Microsoft/fsharp-compiler
This will stay in the new branch (roslyn), and users can try it by installing the vsix produced from the CI build there.
The current version just loads the new language service, and has no UI features (bare text editor).