ember-inspector
ember-inspector copied to clipboard
jump to source for functions and classes
Description
this adds the action "goto source". the behaviour is that it will call inspect on functions and classes which will show the source code of it.
It makes use of the existing function for dom node inspection. I only changed to name to be more generic (inspectJsValue)
Screenshots
adds a new icon button to goto source for functions and classes only
This icon is based on the same icon for sendToConsole. I just changed the text afterwards
changed icon to a crosshair
@RobbieTheWagner can you have a look?
@patricklx sorry for the delay! This looks great, but could we please add some test coverage? I want to make sure everything merged in has robust tests, so we do not have regressions.
Thank you for the PR @patricklx! This is a great feature.