Closed orpuente-MS closed 4 months ago
Does this mean we're returning a "global"
SourceMap
span now, instead of a file offset? If so, maybe consider removing thesource_name
comparison to simplify the code even further. The globalspan
s should be all you need to compare, since they're unique across sources.
Yes, you are right! And I can avoid String comparisons that way.
This PR fixes CodeActions not working on multifile projects.