Closed wk-j closed 2 years ago
I get this in a net standard project too, just a new console app with this type:
type LocalDbContext() =
[<DefaultValue>]
val mutable private test : int
Im getting a Lens with this ^
Maybe the interim month have fixed this in FCS.
I’ll test that later today
I'm still not getting the code lenses for type signature and I'm getting wrong reference code lenses
In case of reference numbers (and I guess in the screenshot @7sharp9 posted) FSAC thinks that the symbol for which lens should be displayed is int
rather than test
If you take out the CR between the [<DefaultValue>]
and val they seem to appear, I had to restart though.
As expected - this is indeed a bug in FCS, I've fixed that with https://github.com/dotnet/fsharp/pull/10727 which means that in a few months time we will have this in Ionide.
This is strange looking code because
[<DefaultValue>]
was separated by empty CodeLens line