gusl: (Default)
[personal profile] gusl
The Eclipse feature that I most miss in Emacs modes is being able to jump to a function's definition/implementation.

(I'm also fond of that refactoring thing in which you can select code to go into a specialized function/procedure. But that hasn't come up yet.)

UPDATE: and the good old call hierarchy! ...which sometimes had too much branching. Please don't show me calls to print().

(no subject)

Date: 2009-09-06 09:26 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
Thanks. What's a tag file?

It looks like R isn't supported...

(no subject)

Date: 2009-09-06 09:30 pm (UTC)
From: [identity profile] puellavulnerata.livejournal.com
A tag file is an index of source code; ctags/etags generates it and emacs interprets it so you can jump to a given symbol. You'd add a makefile rule and then just say something like make tags to update the tag file.

I don't know about R support, though

(no subject)

Date: 2009-09-06 09:36 pm (UTC)
From: [identity profile] gustavolacerda.livejournal.com
Thanks.
Eclipse doesn't require running 'make' to tag files, but I suppose it can't be too hard to get Emacs to run 'make tags' every 30 seconds or so.

(no subject)

Date: 2009-09-08 05:48 pm (UTC)
infryq: Kitchen scene at dawn, post-processed to appear as if painted (Default)
From: [personal profile] infryq
Do you seriously add a new function and forget where you defined it every 30 seconds?

I used ctags/etags for a C project a while back, along with Eli Barzilay's emacs environment, with great success. I think we threw the etags generation statement into the buildfile, so that it'd run whenever I did a syntax check. Mapped it to C-., worked well.

(no subject)

Date: 2009-09-08 05:50 pm (UTC)
infryq: Kitchen scene at dawn, post-processed to appear as if painted (Default)
From: [personal profile] infryq
Oh yeah and the reason why this worked better is because I do believe running etags can be a bit time consuming (i.e. not instantaneous)

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags