Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[VarDumper] add link to source next to class names #30301

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

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Feb 19, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

This PR adds a ^ next to language identifiers (class and callback names) both on the Web and on the CLI. Clicking it opens the IDE to the target source code:

Eg in the profiler:
image

And in the CLI:
image

@nicolas-grekas nicolas-grekas force-pushed the vd-link branch 4 times, most recently from 9731815 to bcb29a2 Compare February 19, 2019 21:23
@nicolas-grekas
Copy link
Member Author

Now green with greater BC.

@fabpot
Copy link
Member

fabpot commented Feb 21, 2019

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 5fcd6b1 into symfony:master Feb 21, 2019
fabpot added a commit that referenced this pull request Feb 21, 2019
…colas-grekas)

This PR was merged into the 4.3-dev branch.

Discussion
----------

[VarDumper] add link to source next to class names

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This PR adds a `^` next to language identifiers (class and callback names) both on the Web and on the CLI. Clicking it opens the IDE to the target source code:

Eg in the profiler:
![image](https://user-images.githubusercontent.com/243674/53021031-900c4380-3458-11e9-9439-260ff11f0910.png)

And in the CLI:
![image](https://user-images.githubusercontent.com/243674/53021092-b16d2f80-3458-11e9-9f03-cdab59da4585.png)

Commits
-------

5fcd6b1 [VarDumper] add link to source next to class names
@ro0NL
Copy link
Contributor

ro0NL commented Feb 25, 2019

@nicolas-grekas seems nested objects are not linked :( perhaps due the max. depth setting..

image

the nested Role has a link, whereas SecurityUser doesnt. Any hint? :)

@nicolas-grekas
Copy link
Member Author

No hint why sorry, would need to be investigated.

@nicolas-grekas nicolas-grekas deleted the vd-link branch February 25, 2019 10:59
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.3 Apr 30, 2019
@fabpot fabpot mentioned this pull request May 9, 2019
fabpot added a commit that referenced this pull request Jun 6, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[HttpKernel] fix link to source generation

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #31833
| License       | MIT
| Doc PR        | -

Introduced in #30301

Commits
-------

4a4b62b [HttpKernel] fix link to source generation
fabpot added a commit that referenced this pull request Sep 10, 2023
…n (derrabus)

This PR was merged into the 6.4 branch.

Discussion
----------

[DebugBundle] Remove obsolete VarDumper feature detection

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

This PR removes detection for features introduced with #30301 (Symfony 4.3) and #27261 (Symfony 4.2).

Commits
-------

9f9747c [DebugBundle] Remove obsolete VarDumper feature detection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants