Repository navigation
Commit 8f8c79f
Recognise a mapped name as the file a document holds
Finding the document a range names got the caret to the right file, and then the
search for the declaration inside it compared the range's file name to the
document's path with `=`. Under a path map the first is relative to a root the
assembly never records and the second is absolute, so they never match: the
search fell through to a full check of the file, looking for uses of a symbol
that belongs to another compilation, and came back with nothing.
Both places now go through one rule, `isTheFileAt`, rather than two spellings of
it, so a name a path map left relative is matched by its tail wherever a file is
identified.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 8075288 commit 8f8c79f
2 files changed
Lines changed: 2 additions & 1 deletion
File tree
- vsintegration
- tests/FSharp.Editor.Tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments