Fsharp: [RC3] Code Fixes do not work

Created on 27 Jan 2017  路  6Comments  路  Source: dotnet/fsharp

I attached to a VS instance and don't see any exceptions, like missing methods, etc. Absolutely no idea what's happening. Code Fixes work OK in C# editor.

Area-IDE Language Service Severity-High

Most helpful comment

@cartermp it's been approved and merged 馃憤

All 6 comments

Yup, I think the bit that ultimately connects to the "initiate a code fix suggestion" is disabled somehow...you can see the Simplifier Analyzer actually working by dimming/graying tokens which can be simplified.

Maybe update VS packages? There's 15.0.26105-RC3 version.

I can't find it for the life of me, but there was a PR on the Roslyn project that disabled Code Fixes for F# - I brought this up at the time it was merged but it looks there was no reply.

I believe the PR disabled "Go to implementation" if there wasn't an implementation of it in the language service. I'll keep trying to find the PR...

See dotnet/roslyn#15961

We need to add the FSharp content type to src/EditorFeatures/Core/Implementation/Suggestions/SuggestedActionsSourceProvider.cs in Roslyn

Thanks, @saul! Looks like that change it getting taken to our shiproom, so if it's approved then I'll change the milestone here and close this out.

@cartermp it's been approved and merged 馃憤

Was this page helpful?
0 / 5 - 0 ratings