Re: Eclipse issues with Ruby

Aaron Brown
Tue, 25 Mar 2008 01:25:00 -0000

Backov wrote:
> I''m working on a controller that''s getting a little big.
Not huge, but
> somewhat. Now, for no apparent reason Eclipse is pausing when I''m
> inserting and deleting text. It''s incredibly annoying. I have a
beefy
> dev machine and I have no idea what it''s doing - I''ve
tried turning
> off a lot of the intellisense stuff, which doesn''t work that well
> anyway, but it''s had no effect.

I''ve seen similar things from Eclipse with perl.  I believe
it''s due to
Eclipse checking the code for syntax errors which it does every time you
pause your typing for some amount of time.  I think the delay is
configurable.  Anyway, not knowing much of anything about the Eclipse
ruby plugin, I would bet that Eclipse detects syntax errors by
continually executing "ruby yourCode.rb" and parsing the results into
the IDE.  That takes considerable effort for your computer and, as your
file gets bigger, will just take longer and longer until the freeze is
not only noticeable, but annoying as hell.

My recommendation: NetBeans 6.  Not to start an editor war (especially
since I like emacs better than vi), but I''m an Eclipse user at work
(Java stuff) and I use NetBeans when I''m editing Ruby at home.
It''s
just a much much better Ruby editor, in my opinion.  And yes, I''ve
tried
Aptana, too.  I''m working in Linux, but I imagine the experience would
be similar in Windows.

  - Aaron