Closed babysnakes closed 2 years ago
This should be fixed in the next release we make - references and renames (along with other features that rely on finding symbol uses) had some issues that we've hopefully ironed out.
This was fast 🙂,
Thanks
Hey @baronfel,
I now have version 6.0.6
installed but the problem persists. Note that going forward (e.g. go to definition) does work - also worked in the previous version.
Sorry, I haven't released a version of FSAC with the fix yet - I put out a patch release of Ionide with some other fixes first. I'm doing some perf testing on it before releasing.
This bug is fixed in Ionide 7.0.0 with .NET Core 6.0.302 but shows up again in .NET Core 6.0.400-preview.22330.6. (Easy workaround: local.json
to force the non-preview build).
@baronfel, It now works again 🙂 (Ionide 7.0.0
with stable .Net 6.0). Should I close this ticket or should I leave it because of what @backerman discovered about preview version?
I made a new issue for the preview problem specifically, so we can close this.
Describe the bug
I didn't work on F# project for several months now so I don't know when this happened but when I tried to open an F# project today It didn't find any references to almost all of the symbols I pointed it to. Actually, In my quick tests it only found references to functions within other functions. Anything with larger scope (even within a file) didn't work - It just says
no reference found fot ...
. I couldn't find any related errors in the logs.Steps to reproduce
TopologicalSort
)Version1.fs
.sort
).loop
withinsort
) you'll get the references.Link to sample reproduction
I first saw it in the repository linked above but it happened on all F# repositories I have locally on two computers.
Expected behaviour
Show references.
Screenshots
Machine info
Additional context
To avoid clashes with other extensions I also tried this on a portable installation without any extensions except Ionide and it was the same behavior.