Skip to content

Add component path into HTML output #475

@ondrejsevcik

Description

@ondrejsevcik

Hi, I have a (hopefully) small feature request.

It would be very useful to have an HTML comment around the rendered Ember components (maybe even routes) with a path or a name of the component. It would look something like this:

<div>
  <!-- start-component: components/date-picker/simple -->
  <div> ... component html </div>
  <!-- end-component: components/date-picker/simple -->
</div>

This would be especially useful when you work on unknown codebase or you want to know where is this HTML produced from.

I know there is an Ember inspector with similar functionality, but it is not that nice to use and doesn't support all browsers.

Thanks for consideration

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-ToolingRFCs that impact tooling, like Ember Inspector

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions