Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[VarDumper] Handle attributes in Data clones for more semantic dumps#19797

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromnicolas-grekas:dump-attr
Aug 31, 2016

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedAug 31, 2016
edited
Loading

QA
Branch?master
New feature?yes
Tests pass?yes
LicenseMIT

Casters can now add attributes to the stub they create and to virtual propertie names so that e.g. the HtmlDumper knows more about the structure it is dumping. This allows for fine tuned HTML representations.

The ExceptionCaster uses this feature to make traces more useful, by telling the HtmlDumper which keys/values are files, lines or code excerpt (and which language). Thus, code excerpts can now be opened directly in the IDE.

@nicolas-grekas
Copy link
MemberAuthor

nicolas-grekas commentedAug 31, 2016
edited
Loading

Here is a screenshot:
capture du 2016-08-31 14-33-04

Note:

  • the ellipsis, they make lines shorter while still allowing one to select/copy/paste the full path
  • the tooltip on hover that shows what the ellipsis hides
  • when a fileLinkFormat is provided, the middle line is clickable and opens the IDE
  • (colors are going to change soon don't worry about them :) )
ogizanagi reacted with heart emoji

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit2937ffa intosymfony:masterAug 31, 2016
fabpot added a commit that referenced this pull requestAug 31, 2016
…semantic dumps (nicolas-grekas)This PR was merged into the 3.2-dev branch.Discussion----------[VarDumper] Handle attributes in Data clones for more semantic dumps| Q             | A| ------------- | ---| Branch?       | master| New feature?  | yes| Tests pass?   | yes| License       | MITCasters can now add attributes to the stub they create and to virtual properties so that e.g. the HtmlDumper knows more about the structure it is dumping. This allow for fine tuned HTML representations.The ExceptionCaster uses this feature to make traces more useful, by telling the HtmlDumper that a which keys/values are files, lines or code excerpt (and which language). Thus, code excerpts can now be opened directly in the IDE.Commits-------2937ffa [VarDumper] Handle attributes in Data clones for more semantic dumps
@nicolas-grekasnicolas-grekas deleted the dump-attr branchAugust 31, 2016 18:29
fabpot added a commit that referenced this pull requestSep 1, 2016
… (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       | MITThis builds on top of#19797 & adds a new `LinkStub` to inform HtmlDumper about values that can be dumped as html links.![capture du 2016-09-01 16-37-56](https://cloud.githubusercontent.com/assets/243674/18171810/8a786518-7063-11e6-9719-1eca295087e7.png)Note in the screenshot:- the "file" item has ellipsis,- the browser displays the target at the bottomCommits-------2b5d642 [VarDumper] Add LinkStub to create links in HTML dumps
@fabpotfabpot mentioned this pull requestOct 27, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp