I've just started playing around with ruby on rails and by association,
ruby itself. One of the things I've been trying to get set to my
liking is a decent development environment. I'm working in Windows and
I'm just not sure what set of tools will work decently (alternatively,
I'd develop in Linux if the tools are better there). Some of the
things I'm looking for:
- good syntax highlighting
- code completion
- auto indentation
- debugging
- tabbed view of open files
- project view or a folder view of files
- works for .rb and .rhtml files
- support for rails
I've spent a little time looking at the following options:
- EditPlus
- UltraEdit
- gvim
- SciTE
- jEdit
- ArachnoRuby
None of these seem to quite meet all those needs. Four main things I
can't seem to find together are:
- debugging
- support for rails
- code completion
- support for rhtml files
I read through and gave a brief try to debugging with breakpoint as
outlined here:
I'm obviously too much of a ruby n00b at this point to make good use of
this.
I noticed some of these support basic code completion with the core
ruby language, but that's it.
I see that everone working on Mac loves TextMate but for me that just
isn't an option.
Does anyone have suggestions on what I should be looking at? Can you
give me very specific information about setup and tools? Any help
would be greatly appreciated.
You could have a look at KDevelop(Linux/KDE,http://www.kdevelop.org/\) or
Context(Windows,ConTEXT 0.98.6 Free Download for Windows 10, 8 and 7 - FileCroco.com)
KDevelop is a real IDE, with I think all of the mentioned features you want
and Context is more an advanced texteditor, with highlighting and such
things.
-- Dennis
···
Am Mittwoch, 7. September 2005 16:21 schrieb Paul Dix:
I've just started playing around with ruby on rails and by association,
ruby itself. One of the things I've been trying to get set to my
liking is a decent development environment. I'm working in Windows and
I'm just not sure what set of tools will work decently (alternatively,
I'd develop in Linux if the tools are better there).
Have you checked out Eclipse with the Ruby plug in? See
http://www.eclipse.org/main.html for details. Or how about Widestudio?
This IDE comes with Python, Perl and Ruby installations bundled within.
See http://www.widestudio.org/EE/wsinfo.html for details on it.
I haven't used these to a great extent but do have them loaded on my
Win2K development notebook. Check them out and let me know what you
think...
Paul, jEdit + the Ruby Editor Plugin meets many of your needs:
- good syntax highlighting (yes)
- code completion (yes)
- auto indentation (yes)
- tabbed view of open files (yes)
- project view or a folder view of files (yes)
- works for .rb and .rhtml files (yes, I think with a bit of config work)
- debugging (no)
- support for rails (no) - what do you mean by this?
If you get hooked on unit tests as a better substitute for a debugger, then
jEdit's looking pretty good. I'm going to be restarting development on the
jEdit Ruby plugin soon. Feel free to drop me a line with what you think is
missing, you never know it may be there by the end of the year.
Rob
···
On 9/7/05, Paul Dix <paulcdix@gmail.com> wrote:
I've just started playing around with ruby on rails and by association,
ruby itself. One of the things I've been trying to get set to my
liking is a decent development environment. I'm working in Windows and
I'm just not sure what set of tools will work decently (alternatively,
I'd develop in Linux if the tools are better there). Some of the
things I'm looking for:
- good syntax highlighting
- code completion
- auto indentation
- debugging
- tabbed view of open files
- project view or a folder view of files
- works for .rb and .rhtml files
- support for rails
I've spent a little time looking at the following options:
- EditPlus
- UltraEdit
- gvim
- SciTE
- jEdit
- ArachnoRuby
None of these seem to quite meet all those needs. Four main things I
can't seem to find together are:
- debugging
- support for rails
- code completion
- support for rhtml files
I read through and gave a brief try to debugging with breakpoint as
outlined here:
http://wiki.rubyonrails.com/rails/show/HowtoDebugWithBreakpoint
I'm obviously too much of a ruby n00b at this point to make good use of
this.
I noticed some of these support basic code completion with the core
ruby language, but that's it.
I see that everone working on Mac loves TextMate but for me that just
isn't an option.
Does anyone have suggestions on what I should be looking at? Can you
give me very specific information about setup and tools? Any help
would be greatly appreciated.
vim does all that, except for debugging. I've never had to really
debug ruby much though (I sometimes use gdb if i have a problem with a
c extension).
···
On 9/7/05, Paul Dix <paulcdix@gmail.com> wrote:
I've just started playing around with ruby on rails and by association,
ruby itself. One of the things I've been trying to get set to my
liking is a decent development environment. I'm working in Windows and
I'm just not sure what set of tools will work decently (alternatively,
I'd develop in Linux if the tools are better there). Some of the
things I'm looking for:
- good syntax highlighting
- code completion
- auto indentation
- debugging
- tabbed view of open files
- project view or a folder view of files
- works for .rb and .rhtml files
- support for rails
I'm entirely a UNIX/Linux man so I may be a touch biased. But I have done
a lot of development work on MS Windows too.
IDE's generally are great if you are new to a language, and even if you
are not new pop ups giving you the params of the standard functions as
you type can be handy. But eventually all of that stuff simply will get in
your way.
I develop much faster using vi(m) (but substitute your own plain text
editor), a console for nipping about the project directory structure and a
browse window open if thats the sort of interface your using.
Then you write a function, save :w, test in the console or browser you
have open. Or if its a function/class you can test stand alone, then send
it directly to ruby/php or what ever. ':w !ruby' you can't get much more
immediate feedback than that. No opening and closing Windows or dialogues.
···
On Wed, 07 Sep 2005 07:17:24 -0700, Paul Dix wrote:
I've just started playing around with ruby on rails and by association,
ruby itself. One of the things I've been trying to get set to my
liking is a decent development environment. I'm working in Windows and
I'm just not sure what set of tools will work decently (alternatively,
I'd develop in Linux if the tools are better there). Some of the
things I'm looking for:
- good syntax highlighting
- code completion
- auto indentation
- debugging
- tabbed view of open files
- project view or a folder view of files
- works for .rb and .rhtml files
- support for rails
I've spent a little time looking at the following options:
- EditPlus
- UltraEdit
- gvim
- SciTE
- jEdit
- ArachnoRuby
None of these seem to quite meet all those needs. Four main things I
can't seem to find together are:
- debugging
- support for rails
- code completion
- support for rhtml files
I read through and gave a brief try to debugging with breakpoint as
outlined here:
http://wiki.rubyonrails.com/rails/show/HowtoDebugWithBreakpoint
I'm obviously too much of a ruby n00b at this point to make good use of
this.
I noticed some of these support basic code completion with the core
ruby language, but that's it.
I see that everone working on Mac loves TextMate but for me that just
isn't an option.
Does anyone have suggestions on what I should be looking at? Can you
give me very specific information about setup and tools? Any help
would be greatly appreciated.
Paul Dix wrote:
One of the things I've been trying to get set to my
liking is a decent development environment...
I agree. I have tried to "sell" ruby at work, and all the Java developers say "Where is the equivalent of JBuilder / Eclipse / NetBeans etc"
I try to say there is an Eclipse plugin - but
a) It doesn't work in the latest Eclipse release
b) It seems very restricted in supplied functionality compare with what is available in the Java perspective
c) Saying "I've got colour coded text in <editor name here>" just isn't good enough, and can't be called an IDE. (Try www.PSPad.com for a good free text editor though)
I've downloaded ArachnoRuby - but it never seems to get finished - and is pretty complex. Looks like it would have all the tools you would need in it though - assuming it matures soon. (have to pay for it of course)
Other things - like RDE and Mondrian just plain don't work from the point & click installer. If it don't work on installation - what hope is there of it working properly as a debugger.
I hope someone picks up the challenge.....
Graham
Paul Dix wrote:
I've spent a little time looking at the following options:
- EditPlus
- UltraEdit
- gvim
- SciTE
- jEdit
- ArachnoRuby
What's wrong with this FreeRIDE thing that seems to come along with
the Windows one-click installer then? (I've not used it much, just
curious).
···
--
Chris Game
Justify my text? I'm sorry but it has no excuse.
I'm working in Windows and I'm just not sure what set of tools
will work decently
You might want to take a look at the Zeus for Windows programmer's
editor:
Zeus IDE - Programming environment for Windows developers
- tabbed view of open files
- project view or a folder view of files
These come as standard.
- good syntax highlighting
- auto indentation
Zeus has auto indentation, code folding and syntax highlighting for
Ruby.
- code completion
The code completion is fully configurable so it may or may not be
possible to make it work for Ruby.
For example this is how C#/Mono code completion is configured:
http://www.zeusedit.com/forum/viewtopic.php?t=211
and here is the Microsoft MFC code completion is configured details:
Intellisensing for MFC or wxWidgets - Zeus IDE
But if you find that it does not work for Ruby feel free to raise a bug
report.
- works for .rb and .rhtml files
- support for rails
Zeus if highly configurable so it should be possible to do this.
- debugging
Zeus does have limited debugging support but it is definitely not one
of it's strong points
Does anyone have suggestions on what I should be looking at?
One thing to note is Zeus by designed is language neutral meaning it
does not favour any one particular language.
It see no reason why it should not be possible to configure Zeus for
Ruby, but don't expect to find all these features "out of the box", so
to speak.
Note: Zeus is shareware (45 day trial).
Jussi Jumppanen
Author: Zeus for Windows
Hi, I'm aware of this ones:
RDE (GPL, coded in ruby)
http://homepage2.nifty.com/sakazuki/rde_e.html
Mondrian Ruby IDE (MIT?, also coded in ruby)
http://www.mondrian-ide.com/
Arachno Ruby IDE (commercial, starting at US$ 59)
http://www.ruby-ide.com
This one isn't Ruby-specific, but I use it from time to time (Freeware)
(Note about this one: it only applies ruby sintax highlighting to *.rb
files, NOT *.rbw. But this can be fixed by creating a new link file )
hope you find these links useful.
cya!
···
On 9/7/05, Dennis Schridde <devurandom@gmx.net> wrote:
Am Mittwoch, 7. September 2005 16:21 schrieb Paul Dix:
> I've just started playing around with ruby on rails and by association,
> ruby itself. One of the things I've been trying to get set to my
> liking is a decent development environment. I'm working in Windows and
> I'm just not sure what set of tools will work decently (alternatively,
> I'd develop in Linux if the tools are better there).
You could have a look at KDevelop(Linux/KDE,http://www.kdevelop.org/\) or
Context(Windows,ConTEXT 0.98.6 Free Download for Windows 10, 8 and 7 - FileCroco.com)KDevelop is a real IDE, with I think all of the mentioned features you want
and Context is more an advanced texteditor, with highlighting and such
things.-- Dennis
--
BlueSteel | | Merkoth
gregarican wrote:
Or how about Widestudio?
I think I might have answered my own question I had yesterday to c.l.r
regarding Qt/Ruby/Windows support for an application I wanted to port
over from Qt/Ruby/Linux that I wrote for the Sharp Zaurus. I wasn't
aware that Widestudio's GUI toolkit can be cross-deployed on Windows as
well as Sharp Zaurus platforms. This was due to my ignorance since I
hadn't used it much.
Perhaps this IDE will help me release my application across the various
platforms in a smoother manner. Previously I was using qt-mt230nc.dll
with a Qt binary release for Ruby 1.6 on my Windows clients. This
wasn't the best solution since the Qt version was earlier than my
Zaurus clients (2.3.0 versus 2.3.2) and the Ruby version was as well
(1.6.8 versus 1.8.3).
How do you do code completion with vim? I'd love that feature.
···
On 9/7/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
On 9/7/05, Paul Dix <paulcdix@gmail.com> wrote:
> I've just started playing around with ruby on rails and by association,
> ruby itself. One of the things I've been trying to get set to my
> liking is a decent development environment. I'm working in Windows and
> I'm just not sure what set of tools will work decently (alternatively,
> I'd develop in Linux if the tools are better there). Some of the
> things I'm looking for:
> - good syntax highlighting
> - code completion
> - auto indentation
> - debugging
> - tabbed view of open files
> - project view or a folder view of files
> - works for .rb and .rhtml files
> - support for railsvim does all that, except for debugging. I've never had to really
debug ruby much though (I sometimes use gdb if i have a problem with a
c extension).
--
~Travis
BearItAll wrote:
IDE's generally are great if you are new to a language...But eventually all of that stuff
simply will get in your way.
True that! I found this to be the case with some of the Java IDE's that
were powerful and all encompassing, but eventually slowed me down for
many reasons. Using some of the windowing toolkit designers such as
GTK's, Qt's etc. is another story to me, since graphically designing my
GUI (rather than manually typing and running things to see how they
look) is a big plus.
Yeah, I generally have mappings like
:wall<CR>:!ruby %<CR>
Which will save all open files and run the current file.
I also map F7 to run all unit tests.
···
On 9/7/05, BearItAll <bearitall@rassler.co.uk> wrote:
On Wed, 07 Sep 2005 07:17:24 -0700, Paul Dix wrote:
> I've just started playing around with ruby on rails and by association,
> ruby itself. One of the things I've been trying to get set to my
> liking is a decent development environment. I'm working in Windows and
> I'm just not sure what set of tools will work decently (alternatively,
> I'd develop in Linux if the tools are better there). Some of the
> things I'm looking for:
> - good syntax highlighting
> - code completion
> - auto indentation
> - debugging
> - tabbed view of open files
> - project view or a folder view of files
> - works for .rb and .rhtml files
> - support for rails
> I've spent a little time looking at the following options:
> - EditPlus
> - UltraEdit
> - gvim
> - SciTE
> - jEdit
> - ArachnoRuby
> None of these seem to quite meet all those needs. Four main things I
> can't seem to find together are:
> - debugging
> - support for rails
> - code completion
> - support for rhtml files
> I read through and gave a brief try to debugging with breakpoint as
> outlined here:
> http://wiki.rubyonrails.com/rails/show/HowtoDebugWithBreakpoint
> I'm obviously too much of a ruby n00b at this point to make good use of
> this.
> I noticed some of these support basic code completion with the core
> ruby language, but that's it.
> I see that everone working on Mac loves TextMate but for me that just
> isn't an option.
> Does anyone have suggestions on what I should be looking at? Can you
> give me very specific information about setup and tools? Any help
> would be greatly appreciated.I'm entirely a UNIX/Linux man so I may be a touch biased. But I have done
a lot of development work on MS Windows too.IDE's generally are great if you are new to a language, and even if you
are not new pop ups giving you the params of the standard functions as
you type can be handy. But eventually all of that stuff simply will get in
your way.I develop much faster using vi(m) (but substitute your own plain text
editor), a console for nipping about the project directory structure and a
browse window open if thats the sort of interface your using.Then you write a function, save :w, test in the console or browser you
have open. Or if its a function/class you can test stand alone, then send
it directly to ruby/php or what ever. ':w !ruby' you can't get much more
immediate feedback than that. No opening and closing Windows or dialogues.
You could ask them why they need all that IDE stuff for developing in Ruby.
···
On 9/7/05, graham <fghfghfh@homr.vom> wrote:
Paul Dix wrote:
> One of the things I've been trying to get set to my
> liking is a decent development environment...
I agree. I have tried to "sell" ruby at work, and all the Java
developers say "Where is the equivalent of JBuilder / Eclipse / NetBeans
etc"
I try to say there is an Eclipse plugin - but
a) It doesn't work in the latest Eclipse release
b) It seems very restricted in supplied functionality compare with what
is available in the Java perspective
c) Saying "I've got colour coded text in <editor name here>" just isn't
good enough, and can't be called an IDE. (Try www.PSPad.com for a good
free text editor though)I've downloaded ArachnoRuby - but it never seems to get finished - and
is pretty complex. Looks like it would have all the tools you would need
in it though - assuming it matures soon. (have to pay for it of course)Other things - like RDE and Mondrian just plain don't work from the
point & click installer. If it don't work on installation - what hope is
there of it working properly as a debugger.
What's wrong with this FreeRIDE thing that seems to come along with
the Windows one-click installer then? (I've not used it much, just
curious).
I've found FreeRIDE to be painfully slow - at least on windows. I've
not tried it on other platforms yet, however.
It's slow and unstable, at least on a WinXP platform. The lack of a mature,
feature-rich and free IDE for Windows is still one of Ruby's more
significant shortcomings, in my opinion.
M.
···
On Wed, 07 Sep 2005 21:32:20 GMT, Chris Game wrote:
What's wrong with this FreeRIDE thing that seems to come along with
the Windows one-click installer then?
Rob . wrote:
Paul, jEdit + the Ruby Editor Plugin meets many of your needs:
- good syntax highlighting (yes)
- code completion (yes)
- auto indentation (yes)
- tabbed view of open files (yes)
- project view or a folder view of files (yes)
- works for .rb and .rhtml files (yes, I think with a bit of config work)
- debugging (no)
- support for rails (no) - what do you mean by this?
Let me second this. I've been fairly happy with jEdit and two consoles for ruby-breakpoint and a tail -f on the log.
It would be wonderful if there was a way of getting rid of the tail -f with jEdit as the logs can get quite big (5 - 10 MB) and jEdit doesn't handle that kind of file size too well. Any ideas?
Another thing that is not quite perfect is the integration of the XML and Ruby mode for .rhtml files -- it would be nice if there was a way of getting the XML plug in to ignore <% %> style constructs, but slava wasn't really much in favor of this back when I asked him about it.
I'm also sort of working on an IDE for ruby-breakpoint[0], but please don't expect too much as this is a private project and I can't even drag & drop the GUI together. I've also heard that ActiveState is working on a graphical Ruby debugger.
Personally, I'm still quite happy with an IRB shell and just asking questions to my objects.
You could ask them why they need all that IDE stuff for developing in Ruby.
Because they develop complex applications with many Classes, thousands of lines of code and complex interactions. They probably also work on multiple projects at once, swap between java, HTML, CSS, SQL, Javascript and want an IDE to "just handle it" and be able to debug it. They like refactoring support, integrated version control, 1 click deployment across different servers etc etc. A text editor just can't cut it. (IMHO)
Graham
Travis Smith wrote:
How do you do code completion with vim? I'd love that feature.
:help ins-completion
···
--
Florian Frank