More robust template path hints (block name, block parents
Currently, the "template path hint" feature displays the template name and block class name.
Fabrizio Branca's Aoe_TemplateHints module extends the native Magento 1.x template path hint functionality to add much more information to the hints including:
- Block name (very useful)
- Parent block names
- Module
- Caching status
Here is a screenshot from his blog post, visualizing what this could look like:

I propose that this functionality be built into Magento 2. If Magento accepts this proposal, I may be willing to build this functionality and then issue a pull request to have it incorporated into Magento 2.
@fbrnc Would you be willing to change the license type of Aoe_TemplateHints to MIT to allow code from that module to be ported to Magento 2? You've done a great job with this module and I'd like to be able to reference and port code from that module.
@erikhansen, thank you for the idea! The PO responsible for this area will look at your suggestion and we will figure out what to do. Anyway, the ticket is in the product backlog now. Let's see what we can do about the suggestion you are offering.
@verklov Thanks. I would be interested in contributing to the development of this, if it is something that Magento would be willing to include in the core.
@erikhansen Thank you for the great idea! I will include it into our roadmap
@tkacheva If I worked on this feature and submitted a pull request, would it get included into Magento 2?
:+1:
@erikhansen Yes, for sure if it passes code review and meets our license policy
Internal ticket: MAGETWO-24798
I must have missed this ticket in the first place. Yes, I'd totally love to see a template hints like the ones I implemented for Aoe_TemplateHints in Magento 2 and I'd also be willing to contribute that code. One of the important benefits of Aoe_TemplateHints over the native ones is that Aoe_TemplateHints does not only show blocks inheriting from Mage_Core_Block_Template, but all blocks (inheriting from Mage_Core_Block_Abstract). That's an important detail :)
I checked internally, only to be reminded that this was already approved above by @tkacheva mid last year. So if someone is willing to work on this (based on AOE code as starting point - thanks Fabrizio!), could interested parties leave a note on this issue to coordinate work between you.
I would be willing to work on this issue. Is it still up for grabs?
@ryanstreet yes, it is still up for grabs, as far as I know. It would be great if you wanted to work on it.
Awesome. I'm on it!
Great @ryanstreet
Thanks @ryanstreet. Looking forward this great module in Magento 2.
Your welcome!
I don't have time to work on this right now, but just pitched in a $25 bounty.
Unless someone can get to it sooner, I have this fix slotted in my schedule for February 16. If someone else can get to it, by all means do so.
@ryanstreet It would be awesome if you could take this on in February. Frontend developers will thank you for years to come. The Aoe_TemplateHints extension is pretty robust and does quite a bit more than what I think we could reasonably expect to be included in the Magento core.
If I were you, I would target adding this functionality to core Magento: In addition to the block class and template file, add the block name and block alias to the template hints.
I'm not sure if you've submitted any pull requests for Magento 2, but you'll need to keep in mind that Magento expects integration/unit tests to be included in any pull request. You can read up here on how to get Magento's native tests running on your development environment: http://davidalger.com/development/magento/running-the-magento-2-test-suite/ Since Magento should already have tests in place to verify the existing template hints functionality, it shouldn't be too difficult to expand upon those tests to cover the new functionality.
Here is my suggestion of how to change the config:

Here is a suggestion for how you might add the block name and class:

You'll want to test with all combinations of settings and block combinations (e.g., blocks with no names but aliases, etc)
I would love to see this tool improved, or a better version created as a module. It just struggles to get high enough on the list compared to other features internally. Should we fix checkout or the hints too? Checkout! Should we fix payments integration or the hints tool? Payments! This sort of project I think would make a great community contribution.