Open Bug 1555260 Opened 6 years ago Updated 2 years ago

Display the line number for the rule that was modified in the Changes panel

Categories

(DevTools :: Inspector: Changes, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: pbro, Unassigned)

References

(Blocks 1 open bug)

Details

This is a bit similar to bug 1505337 but not quite.
This feature request came from @Dmitry on Slack (in #inspector). I'll attempt to summarize the context and request he presented there as best I can:

Context: I'm writing CSS in the inspector (because the realtime feedback is great). I'm making changes to existing rules and adding new rules.
When I'm done, I can now copy-paste what's in the Changes panel which is useful.
I also often rework code that my teammates have written, during code review, and tell them what mistakes they may have made. Like: "your rule on line 1244 was breaking navigation on small screen, so I changeds it to this instead...".

Request: So, if I could see the line number where I made the changes, that would help me a lot.
Right now, I need to search for the rules in the source file to find out their line numbers, and then copy this to the chat to give my coworkers.

The only use T get from the Changes panel right now is: copying all new rules in one click, because these are new and don't have a line number I need.
But I can't use it as simply for the rules I edited.

Type: defect → enhancement
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.