Skip to content

Conversation

@OmarTawfik
Copy link
Contributor

@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).

</Vsix>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />

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?

Copy link
Contributor Author

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)
Copy link

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().

Copy link
Contributor Author

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 |>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

first traversal

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check above comment

@cston
Copy link

cston commented Feb 19, 2016

LGTM

@OmarTawfik
Copy link
Contributor Author

thanks @cston and @vladima !

OmarTawfik pushed a commit that referenced this pull request Feb 19, 2016
Replaced old language service with Roslyn-based one
@OmarTawfik OmarTawfik merged commit 3a36f79 into dotnet:roslyn Feb 19, 2016
@OmarTawfik OmarTawfik deleted the newlanguageservice branch February 19, 2016 22:56
@dsyme
Copy link
Contributor

dsyme commented Feb 24, 2016

This is such a great start - super to see this.

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

Successfully merging this pull request may close these issues.

6 participants