-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to jump to source for functions and classes #2443
Merged
Conversation
This file contains 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
patricklx
force-pushed
the
add-inspect-value
branch
from
August 2, 2023 14:31
2056a8e
to
b317b39
Compare
patricklx
force-pushed
the
add-inspect-value
branch
2 times, most recently
from
August 3, 2023 13:51
f9f0159
to
16e1d4f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
patricklx
force-pushed
the
add-inspect-value
branch
from
August 3, 2023 13:56
16e1d4f
to
92dcd9e
Compare
patricklx
changed the title
jump to source for functions and classes instead of printing to console
jump to source for functions and classes
Aug 3, 2023
patricklx
force-pushed
the
add-inspect-value
branch
2 times, most recently
from
August 3, 2023 14:03
b8048e3
to
cfc3f57
Compare
patricklx
force-pushed
the
add-inspect-value
branch
from
January 26, 2024 10:23
cfc3f57
to
eb3c382
Compare
patricklx
force-pushed
the
add-inspect-value
branch
2 times, most recently
from
February 26, 2024 13:22
478e182
to
cdb95b5
Compare
patricklx
force-pushed
the
add-inspect-value
branch
from
February 26, 2024 13:23
cdb95b5
to
ba10122
Compare
@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. |
patricklx
force-pushed
the
add-inspect-value
branch
from
March 11, 2024 15:18
05661fb
to
7de56b5
Compare
patricklx
force-pushed
the
add-inspect-value
branch
from
March 11, 2024 15:19
7de56b5
to
4442f6c
Compare
RobbieTheWagner
approved these changes
Mar 11, 2024
Thank you for the PR @patricklx! This is a great feature. |
RobbieTheWagner
changed the title
jump to source for functions and classes
Add ability to jump to source for functions and classes
Mar 11, 2024
Merged
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