We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@which
Would be useful to have ctrl+q jump to @which definition.
The text was updated successfully, but these errors were encountered:
Can you give a full example of what you mean?
(I.e., doesn't using @edit instead of @which suffice?)
@edit
Sorry, something went wrong.
@edit is sufficient, I just think it's very nice to have ctrl+q as a generic "jump to source location", in case someone wants to do this after @which.
Would the following work for you?
First we make
@which sin(1.0) edit(ans)
work by adding to InteractiveUtils/src/editless.jl the line
InteractiveUtils/src/editless.jl
edit(m::Method) = edit(functionloc(m)...)
and then we cause pressing ^Q to call edit(ans) if both the REPL line buffer is empty and typeof(ans) == Method.
^Q
edit(ans)
typeof(ans) == Method
That would be awesome!
No branches or pull requests
Would be useful to have ctrl+q jump to
@which
definition.The text was updated successfully, but these errors were encountered: