You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
Today the Razor editor has to jump through hoops to determine if a projected mapping location originated from the current file or from a _ViewImports.cshtml. Due to their roundabout way of determining a mappings original location it can occasionally be wrong. We should expose what file created the mapping location so tooling can respond accordingly.
- We had the `FilePath` information available to us but we weren't exposing it on the `MappingLocation` context object.
- By exposing the `FilePath` the Razor editor can 100% know where a `MappingLocation` is resolved from. If `null` the location is deemed to be the current source/generated file.
#552
- We had the `FilePath` information available to us but we weren't exposing it on the `MappingLocation` context object.
- By exposing the `FilePath` the Razor editor can 100% know where a `MappingLocation` is resolved from. If `null` the location is deemed to be the current source/generated file.
#552
Today the Razor editor has to jump through hoops to determine if a projected mapping location originated from the current file or from a
_ViewImports.cshtml
. Due to their roundabout way of determining a mappings original location it can occasionally be wrong. We should expose what file created the mapping location so tooling can respond accordingly./cc @pranavkm @ToddGrun
The text was updated successfully, but these errors were encountered: