firefox-devtools / firefox-devtools/profiler

Distinguish visually between the method parameters and the rest

Open
#4,216 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

Method parameters can get quite long, but usually the method name, and the class it is defined in, is the most important information. So rather than showing something like:
![image](https://user-images.githubusercontent.com/490655/188478469-da6ef4a2-3677-4142-8190-2a84f7a2a5ee.png)
We could format it as something like:
![image](https://user-images.githubusercontent.com/490655/188479299-3aa8797f-b0b4-414b-8954-83ba526c5086.png)
This helps to quickly glance the method name.

The implementation should be easy as the required parsing code is already present for the "copy function name" entry in the context menu.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-574)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.