ember-inspector icon indicating copy to clipboard operation
ember-inspector copied to clipboard

jump to source for functions and classes

Open patricklx opened this issue 2 years ago • 1 comments

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

patricklx avatar Aug 02 '23 14:08 patricklx

adds a new icon button to goto source for functions and classes only Screenshot 2023-08-03 155158 This icon is based on the same icon for sendToConsole. I just changed the text afterwards

patricklx avatar Aug 03 '23 13:08 patricklx

changed icon to a crosshair image

patricklx avatar Feb 26 '24 13:02 patricklx

@RobbieTheWagner can you have a look?

patricklx avatar Feb 26 '24 14:02 patricklx

@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.

RobbieTheWagner avatar Mar 11 '24 12:03 RobbieTheWagner

Thank you for the PR @patricklx! This is a great feature.

RobbieTheWagner avatar Mar 11 '24 23:03 RobbieTheWagner