buggregator / frontend

Buggregator UI
https://buggregator.dev/
15 stars 8 forks source link

VarDumper context rendering #166

Closed roxblnfk closed 3 months ago

roxblnfk commented 3 months ago

Symfony's Source context provider always provides file path, line (file, line) and name (name) that may be the file name or template name (when Twig is used). In some cases it may provide extra keys like project_dir, file_excerpt, file_relative, file_link.

Now all the values are rendered like separated tags:

image

The proposal:

Render file and line as one tags:

File: D:/foo/bar/baz.php:42

In case when name is the same as file name (baz.php) - skip it.