-
Notifications
You must be signed in to change notification settings - Fork 123
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
Add module values to navigable items #650
Add module values to navigable items #650
Conversation
Looks good. |
@rneatherway @tpetricek @7sharp9 could you please publish a new NuGet package so we can proceed with FSAC and ionide? |
@vasily-kirichenko Sorry my access was revoked? |
@7sharp9 You now have access to the nuget package. @vasily-kirichenko I've pushed 8.0.0. This also contains the work to optionally remove the MSBuild dependency for script reference resolution (though Visual F# Power Tools should not, I expect, opt-in to that, since it can always assume MSBuild hosted with appropriate binding redirects). This means there is now an extra DLL in the package (FSharp.Compiler.Service.MSBuild.v12.dll) that should be included alongside FSHarp.Compiler.Service.dll (This should happen automatically). We need to add docs on the MSBuild dependency and how to opt-out of it. Preliminary docs are in this comment |
@dsyme Is there now a programatic way to list the assembly refs within a project file without msbuild? |
@dsyme To be clear, It would be great if FCS could be self contained and provide a means to call resolve on an assembly ref, or ideally return a list of resolved refs from a fsproj file. The ability to resolve anything is internal as far as I can see, I can see how it could be exposed a bit like what you were doing here: Maybe using the msbuild/simulatedmsbuild as per the environment. |
@dsyme thanks! |
No, this only covered the use of MSBuild assembly resolution for
We could expose SimulatedMSBuildRefereceResolver but do we really want to? I suppose it could be particularly useful for putting together support an alternative project file format? |
@dsyme The reason I asked is it would be useful to me so I don't have to start a child process to retrieve them via msbuild. It would also be useful for any other tooling that may need that info. Having |
It also adds
EnclosingEntityKind
andIsAbstract
toFSharpNavigationDeclarationItem
which are needed by FSAC -> Ionide VS Code for filtering declaration used by Code Lens feature.