-
Notifications
You must be signed in to change notification settings - Fork 35
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
evaluate function #6
Comments
This would be as difficult as calling Getting the end of defun is tricky, because you have to skip the |
One thing that could be done as a stopgap solution is to just rely on the indentation. ie., once the editor sees |
Unfortunately, this would not work for functions with empty lines in them (which are not uncommon). |
Can’t we just make it ignore empty lines? |
Ignoring empty lines still does not solve the nested case in the issue. Also, I have to admit that with Revise.jl, this issue is not as pressing as it once was. |
Add the following functionality: when inside a function, select the whole body of the function and send it to the REPL, Similarly to
C-c C-c
in ESS. Should work with embedded functions.should send
function foo() ... end
.Possibly the same machinery that is used for indentation in
julia-mode
can be used for selecting the relevant block.The text was updated successfully, but these errors were encountered: