-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[VarDumper] Add LinkStub to create links in HTML dumps #19816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
97bd54c
to
2b5d642
Compare
Thank you @nicolas-grekas. |
… (nicolas-grekas) This PR was merged into the 3.2-dev branch. Discussion ---------- [VarDumper] Add LinkStub to create links in HTML dumps | Q | A | ------------- | --- | Branch? | master | New feature? | yes | Tests pass? | yes | License | MIT This builds on top of #19797 & adds a new `LinkStub` to inform HtmlDumper about values that can be dumped as html links.  Note in the screenshot: - the "file" item has ellipsis, - the browser displays the target at the bottom Commits ------- 2b5d642 [VarDumper] Add LinkStub to create links in HTML dumps
@nicolas-grekas how can you choose the link as |
You give the template to HtmlDumper, e.g.: Will be done by default once #19807 is merged for Symfony Standard Edition users. |
I like Sublime Text, but why make this editor the default ? |
Where is it the default? |
Where? I thought you were just saying it was to become the default ... o_O |
I inlined the |
Oh that's nice :) |
This builds on top of #19797 & adds a new
LinkStub
to inform HtmlDumper about values that can be dumped as html links.Note in the screenshot: