Add ability to jump to source for functions and classes#2443
Merged
RobbieTheWagner merged 5 commits intoemberjs:mainfrom Mar 11, 2024
Merged
Add ability to jump to source for functions and classes#2443RobbieTheWagner merged 5 commits intoemberjs:mainfrom
RobbieTheWagner merged 5 commits intoemberjs:mainfrom
Conversation
2056a8e to
b317b39
Compare
f9f0159 to
16e1d4f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
16e1d4f to
92dcd9e
Compare
b8048e3 to
cfc3f57
Compare
cfc3f57 to
eb3c382
Compare
478e182 to
cdb95b5
Compare
cdb95b5 to
ba10122
Compare
Collaborator
Author
Collaborator
Author
|
@RobbieTheWagner can you have a look? |
Member
|
@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. |
05661fb to
7de56b5
Compare
7de56b5 to
4442f6c
Compare
RobbieTheWagner
approved these changes
Mar 11, 2024
Member
|
Thank you for the PR @patricklx! This is a great feature. |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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)
this is ideal for going to a source of function or classes and set breakpoints for debugging
Screenshots