Show a link to the original source when selecting a location in a generated source
Categories
(DevTools :: Debugger, enhancement)
Tracking
(firefox123 fixed)
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
For now, we only display the relationship from original to generated source.
We display a link in bottom right editor's footer when we are on an original source.
This link will opened the related generated source.
But then, once you are on the generated source, these is no link back to that original source.
It would be handy to also have this reversed link so that you can easily go back and forth between the two.
Note that this link would be slightly more complex as it will depend on the precise location where we are in the generated source. Based on that location you may map to different original sources.
It might be nice to also show the list of all original source implemented in the current generated source, but we may keep that as a followup.
Assignee | ||
Comment 1•1 year ago
|
||
For now, we were only showing the related bundle file,
so that we can easily navigate from original file to bundle file.
But we could also show the related original file for a location.
This is slightly more complex because the mapped location can now be different
depending on the precise location in the selected file.
Also, there is no synchronous API to compute this mapped location.
We have to involved an asynchronous action to compute this data for bundles.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
bugherder |
Description
•