[ESS] Go to function definition
spinuvit at gmail.com
Fri Sep 19 20:51:09 CEST 2014
This one is very handy, and work in all modes:
Otherwise there is always C-c C-e C-t (ess-build-tags-for-directory)
which works for R code and other languages as well. Then simply use
Unfortunately there is now internal "jump-to-source-location" function
in ESS. I had in plan to add one but never got down to it, partially
because the above two strategies work really well for me.
>>> Ramon Diaz-Uriarte on Fri, 19 Sep 2014 15:52:33 +0200 wrote:
> Dear Seb,
> I use the function ido-goto-symbol as shown here:
> There is also a similar one in prelude:
> However, the ido-goto-symbol-at-point, as referred to here
> and that relates to one of the Emacs rocks episodes, does not work for me
> (and my elisp-ignorant attempts to make it work have failed).
> Tags, etc, do work (ess-build-tags-for-directory) but ido-goto-symbol (that
> I bind to C-c i) is good enough for most of my use cases (if the definition
> is on the buffer you are working on).
> On Fri, 19-09-2014, at 15:15, Sebastien Vauban <sva-news at mygooglest.com> wrote:
>> I'm wondering whether there is a possibility to be able to jump to the
>> definition of the function under point, like `f2' does in RStudio (to
>> see the code of R functions such as `substring' or your own functions)?
>> How do you do that?
>> With a TAGS file? How do you generate it for both your code and the
>> R packages?
>> Other solution?
>> Best regards,
More information about the ESS-help