Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

Need help finding decent IDE/development environment for Windows

瀏覽次數:4 次
跳到第一則未讀訊息

Paul Dix

未讀,
2005年9月7日 上午10:17:242005/9/7
收件者:
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.

Dennis Schridde

未讀,
2005年9月7日 上午10:52:232005/9/7
收件者:
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,http://www.context.cx/)

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

gregarican

未讀,
2005年9月7日 上午11:02:102005/9/7
收件者:
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...

Ivan Vodopiviz

未讀,
2005年9月7日 上午11:05:022005/9/7
收件者:
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)
http://www.crimsoneditor.com
(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!


--
BlueSteel | | Merkoth


Rob .

未讀,
2005年9月7日 上午11:35:252005/9/7
收件者:
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
http://www.jedit.org/ruby/

gregarican

未讀,
2005年9月7日 上午11:50:282005/9/7
收件者:
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).

Joe Van Dyk

未讀,
2005年9月7日 上午11:53:082005/9/7
收件者:
On 9/7/05, Paul Dix <paul...@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

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).


Travis Smith

未讀,
2005年9月7日 中午12:09:332005/9/7
收件者:
How do you do code completion with vim? I'd love that feature.


--
~Travis

BearItAll

未讀,
2005年9月7日 中午12:04:402005/9/7
收件者:

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.

gregarican

未讀,
2005年9月7日 中午12:20:562005/9/7
收件者:
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.

Joe Van Dyk

未讀,
2005年9月7日 中午12:25:202005/9/7
收件者:

graham

未讀,
2005年9月7日 下午1:12:562005/9/7
收件者:
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

Joe Van Dyk

未讀,
2005年9月7日 下午1:19:362005/9/7
收件者:

You could ask them why they need all that IDE stuff for developing in Ruby.


graham

未讀,
2005年9月7日 下午1:34:122005/9/7
收件者:
> 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

Joe Van Dyk

未讀,
2005年9月7日 下午1:46:232005/9/7
收件者:
On 9/7/05, graham <fghf...@homr.vom> wrote:

I do all the above (except debugging and Java) with just vim.
(assuming that unit tests are a substitute for refactoring)


Edward Faulkner

未讀,
2005年9月7日 下午2:23:242005/9/7
收件者:
On Thu, Sep 08, 2005 at 02:36:29AM +0900, graham wrote:
> > 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.

You missed the key phrase: "in Ruby". What you're describing is a
typical project in Java or C++.

In Ruby, if your application is so large and complicated that you
can't easily navigate and understand it without a specialized IDE,
you're basically screwed.

Ruby gives you the power to achieve complicated things with a small
amount of very clean source code. But if you insist on treating it
like C++, all you'll end up with is a mess, and no IDE will save you.

cheers,
Ed

signature.asc

Florian Frank

未讀,
2005年9月7日 下午3:09:312005/9/7
收件者:
Travis Smith wrote:

>How do you do code completion with vim? I'd love that feature.
>

:help ins-completion

--
Florian Frank

Chris Game

未讀,
2005年9月7日 下午5:32:202005/9/7
收件者:
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.

Josh Charles

未讀,
2005年9月7日 下午5:39:472005/9/7
收件者:
> 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.


Reid Thompson

未讀,
2005年9月7日 晚上7:19:312005/9/7
收件者:
Travis Smith wrote:

>How do you do code completion with vim? I'd love that feature.
>
>
>

Me too ---


Michael Vondung

未讀,
2005年9月7日 晚上7:28:562005/9/7
收件者:
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?

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.

graham

未讀,
2005年9月7日 晚上7:53:002005/9/7
收件者:
Edward Faulkner wrote:
>
> You missed the key phrase: "in Ruby". What you're describing is a
> typical project in Java or C++.
>
> In Ruby, if your application is so large and complicated that you
> can't easily navigate and understand it without a specialized IDE,
> you're basically screwed.

I agree. Although Ruby has potential, it still appears to be a language
for small systems/utilities. Partly because of the tools support, partly
because of performance, partly because it is "new" (ish).

If you have a complex problem to solve, choosing the "wrong language" to
write a solution can make your task more difficult, but even Ruby cannot
make intrinsically complex systems simple.

Reading this group and you seem to find several common threads
- Newbies from various backgrounds interested in exploring the
potential, and hitting the same issues (scattered documentation models,
scattered websites with documentation, lack of the level of IDE support
other mainstream languages take for granted, language quirks)
- "experts" who use Ruby regularly and have probably figured out how to
control the coffee machine via vim, and eschew anything more complex
than a console prompt.

Ruby seems to be at the stage of Java 0.9.. i.e. 1 set of command line
tools and loads of "learning applets" to play with. Its going to be a
few years and something like "RBuilder" (c.f. JBuilder) to get people
using it to solve real problems... if this doesn't happen, then Ruby
will probably join the backwater of "almost" or niche languages like
Effiel, Forth, Modula-2, Pascal(?), Lisp, D..... (the list is endless).

I hope Ruby makes it - and if it does its going to be a few influential
groups (like Matz and the Pragmatic team) producing products like RoR
and then pushing it hard. You need to make it easy for people to
deliver, and great tools support is one way to start this. IMHO all the
Ruby IDE developers should be working together to make Eclipse + Ruby
plugin work as well (and be as high a profile) as RoR is. You have
win-win for all existing Eclipse users looking to transition, and
provide great supoprt for new users too.
..
Thx for listening.
Graham

jus...@zeusedit.com

未讀,
2005年9月7日 晚上8:20:382005/9/7
收件者:
> 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:

http://www.zeusedit.com/features.html

> - 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:

http://www.zeusedit.com/forum/viewtopic.php?t=185

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

Doug Kearns

未讀,
2005年9月7日 晚上11:06:452005/9/7
收件者:
On Thu, Sep 08, 2005 at 01:25:20AM +0900, Joe Van Dyk wrote:
> On 9/7/05, BearItAll <bear...@rassler.co.uk> wrote:
> > On Wed, 07 Sep 2005 07:17:24 -0700, Paul Dix wrote:

<snip>

> > 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.
>
> Yeah, I generally have mappings like
> :wall<CR>:!ruby %<CR>
>
> Which will save all open files and run the current file.

You both might like to have a look at the compiler plugin which will run
the given file and allow you to jump to the location of any resulting
syntax errors, exceptions etc.

:compiler ruby
:make %

<snip>

Regards,
Doug


James Edward Gray II

未讀,
2005年9月7日 晚上11:20:322005/9/7
收件者:
On Sep 7, 2005, at 6:56 PM, graham wrote:

> I agree. Although Ruby has potential, it still appears to be a
> language for small systems/utilities. Partly because of the tools
> support, partly because of performance, partly because it is
> "new" (ish).

I've been watching this list for over a year now and I don't remotely
believe the above. I think you might want to look into some of the
things Rubyists are doings. I expect to to be surprised.

> Ruby seems to be at the stage of Java 0.9.. i.e. 1 set of command
> line tools and loads of "learning applets" to play with.

Again this, does not jive with what I see here every single day. Did
you read Ara's post earlier tonight about the image analysis of
hurricane Katrina being done with Ruby, by NOAA?

> Its going to be a few years and something like "RBuilder" (c.f.
> JBuilder) to get people using it to solve real problems...

I believe it's my job to manage complexity, as the programmer, not
the IDE's job. Tools are nice, but that has little to do with what I
can and can't manage.

James Edward Gray II

Jacob Quinn Shenker

未讀,
2005年9月7日 晚上11:31:302005/9/7
收件者:
I have to say, I agree that part of what makes Ruby special is that it
doesn't need an IDE to be efficient (*cough* *cough*, Java!). I
personally use JEdit for my Ruby work (well, learning it at least),
and while I'd love something with more autocomplete abilities and
better syntax checking, that's it. Btw, that's neat about NOAA using
Ruby!

Jacob

jus...@zeusedit.com

未讀,
2005年9月8日 凌晨12:02:412005/9/8
收件者:
> I believe it's my job to manage complexity, as the programmer,
> not the IDE's job.

Most wise words indeed.

Lots of programmers like to leave the task of project management
up to the IDE. But this can be dangerous, as many times the IDE
will get into trouble with the project management, especially as
the complexity grows.

Peña, Botp

未讀,
2005年9月8日 凌晨12:27:082005/9/8
收件者:
jus...@zeusedit.com [mailto:jus...@zeusedit.com] wrote:

#Lots of programmers like to leave the task of project management
#up to the IDE. But this can be dangerous, as many times the IDE
#will get into trouble with the project management, especially as
#the complexity grows.

my only need for an ide is a gui interface similar to that of vbasic forms or powerbuilder's painter. I'd be then happy if it converts the form into tk or even curses. It's a pain aligning widgets, especially if a user/customer dictates the layout. I'm still searching maybe someone has found one...

kind regards -botp

#
#Jussi Jumppanen
#Author: Zeus for Windows
#
#
#


Andrew Stuart

未讀,
2005年9月8日 凌晨12:31:132005/9/8
收件者:
I worked on a project once where an IDE was appointed as Project Manager - I
think it was Visual Studio actually. It wasn't such a big success - the IDE
didn't say much in meetings and wasn't very proactive in managing the
people, project, timelines, deliverables and politics. Certainly it was a
friendly IDE, but you need so much more than that in a Project Manager. I
really think a person is a much stronger choice for Project Manager although
some organisations will continue to choose an IDE as Project Manager.

Edward Faulkner

未讀,
2005年9月8日 凌晨12:49:282005/9/8
收件者:
On Thu, Sep 08, 2005 at 08:56:29AM +0900, graham wrote:
> Edward Faulkner wrote:
> >In Ruby, if your application is so large and complicated that you
> >can't easily navigate and understand it without a specialized IDE,
> >you're basically screwed.
>
> I agree. Although Ruby has potential, it still appears to be a language
> for small systems/utilities.

You misunderstand me. Ruby is quite capable of tackling large,
complicated problems.

People coming from a static-language background expect to need IDEs
because they underestimate the power and brevity of a dynamic language
like Ruby. Once they've replaced their 10,000 lines of Java with
1,000 lines of Ruby, perhaps their IDE will begin to seem less
important.

Or perhaps I'm just biased against IDEs. I've never liked them much
myself.

By the way, it appears rather difficult to make a Ruby IDE with
tab-completion, because you can't know in advance the type of any
object, and methods may be added and changed on the fly.

regards,
Ed

signature.asc

Joe Van Dyk

未讀,
2005年9月8日 上午8:35:562005/9/8
收件者:

I actually looked into that for the first time yesterday.

I think I created a mapping like
:map <F6>:wall!<CR>:mak % \| :cwin<CR>

saves the files, runs make, and displays an error window at the bottom
there. Then I can skip around to all the places that have exceptions.
Pretty nifty.


Tim Ferrell

未讀,
2005年9月8日 上午9:20:222005/9/8
收件者:
Glade might be what you are looking for... it seems to work well on
Windows and Linux and once you have designed your interface and saved it
you can do something like this:

--
require 'gtk2'
require 'libglade2'

class SignalHandler
def method_missing(method, *args)
puts "#{method}: #{args}"
end
def on_QuitMenuItem_activate(*args)
Gtk.main_quit
end
end

if $0 == __FILE__
# initialize gtk
sigmap = SignalHandler.new
Gtk.init
# instantiate the main window
glade = GladeXML.new('gladetest.glade', nil, 'gladetest')
window = glade['MainWindow']
# connect the signal handlers
window.signal_connect("destroy") { sigmap.on_QuitMenuItem_activate }
glade.signal_autoconnect_full do |source, target, signal, handler, data|
source.signal_connect(signal) { sigmap.send(handler, data) }
end
# show the main window
window.show
# start the main event loop
Gtk.main
end
--

Hope this helps,
Tim

Tim Ferrell

未讀,
2005年9月8日 上午9:22:402005/9/8
收件者:
oops ... copy and paste munged the last "end" ... it should be on a line
by itself... sorry!

Damphyr

未讀,
2005年9月8日 上午10:34:032005/9/8
收件者:
James Edward Gray II wrote:
> On Sep 7, 2005, at 6:56 PM, graham wrote:
>
>> I agree. Although Ruby has potential, it still appears to be a
>> language for small systems/utilities. Partly because of the tools
>> support, partly because of performance, partly because it is
>> "new" (ish).
>
snip

>
> I believe it's my job to manage complexity, as the programmer, not
> the IDE's job. Tools are nice, but that has little to do with what I
> can and can't manage.
I agree.
Good thinking, solid design, clear interfaces and proper error
checking/testing are what reduce complexity.
All this help (code completion, error checking etc.) is nice but it
doesn't speed up my work much (if you type fast enough it takes about
the same time to navigate the code completion stuff as to write the
whole call).
Looking up API documentation takes a larger percentage of my time than
typing the call. If I have to know all the C++/STL library calls by
heart, along with the ridiculous amount of Java APIs and all the nice
little Ruby libs, then what am I doing owning a computer and accessing
the internet?
Nope, a decent editor and lots of searchable reference documentation is
what most of us need.
Cheers,
V.-

____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.


Joe Van Dyk

未讀,
2005年9月8日 上午10:51:012005/9/8
收件者:
On 9/8/05, Tim Ferrell <Tim.F...@s0nspark.com> wrote:
> Glade might be what you are looking for... it seems to work well on
> Windows and Linux and once you have designed your interface and saved it
> you can do something like this:

This is getting way off topic, but I've found that Glade might be
nifty when you're first getting started with GUI programming but you
really want to start moving towards packing all the widgets manually.


Rob .

未讀,
2005年9月8日 上午11:43:462005/9/8
收件者:
On 9/8/05, Edward Faulkner <e...@alum.mit.edu> wrote:
>
> By the way, it appears rather difficult to make a Ruby IDE with
> tab-completion, because you can't know in advance the type of any
> object, and methods may be added and changed on the fly.

The jEdit Ruby Editor Plugin has code completion for the core types based
on a naive type inference algorithm, which can be summarized as "if it
quacks like a duck, it'll probably waddle like a duck":
http://www.jedit.org/ruby/
Cheers,
Rob

Rob .

未讀,
2005年9月8日 上午11:50:262005/9/8
收件者:
On 9/8/05, Jacob Quinn Shenker <jqsh...@gmail.com> wrote:

> I personally use JEdit for my Ruby work (well, learning it at least),
> and while I'd love something with more autocomplete abilities and
> better syntax checking, that's it.

Jacob are you using the jEdit Ruby Editor Plugin?
For everyone on this thread:
The jEdit Ruby Editor Plugin provides type based method-completion for the
Ruby core classes, syntax error checking via the JRuby parser and has an
integrated RDoc viewer. The install is rough, many seem to like it, I intend
to put more work into it over the Northern Hemisphere winter, it's free
software under the GPL, take it or leave it, but feedback is welcome, I give
you the Ruby Editor Plugin for jEdit:
http://www.jedit.org/ruby/
Cheers,
Rob

Florian Groß

未讀,
2005年9月8日 中午12:02:442005/9/8
收件者:
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.

[0] http://flgr.dyndns.org/highlights-all-the-way.png

Kevin Brown

未讀,
2005年9月8日 中午12:35:182005/9/8
收件者:
On Wednesday 07 September 2005 17:56, graham wrote:
> Edward Faulkner wrote:
> > You missed the key phrase: "in Ruby". What you're describing is a
> > typical project in Java or C++.
> >
> > In Ruby, if your application is so large and complicated that you
> > can't easily navigate and understand it without a specialized IDE,
> > you're basically screwed.
>
> I agree. Although Ruby has potential, it still appears to be a language
> for small systems/utilities. Partly because of the tools support, partly
> because of performance, partly because it is "new" (ish).
>
> If you have a complex problem to solve, choosing the "wrong language" to
> write a solution can make your task more difficult, but even Ruby cannot
> make intrinsically complex systems simple.

I disagree. I'm currently writing a complete Magazine Subscription
fulfillment database backend with front end in Ruby. It's no problem, even
though the system is complex The backend is about 90% complete and the front
end is about 30 percent complete.

Now granted, if ANY application in ANY language is so large you can't
understand it without an IDE, the problem is not the size, but your design.
Anyway, I do everything with 2 terminal windows open and Kate to edit the
files. No problems there. :-)


Randy Kramer

未讀,
2005年9月8日 下午1:49:332005/9/8
收件者:
On Thursday 08 September 2005 12:06 am, jus...@zeusedit.com wrote:
> > I believe it's my job to manage complexity, as the programmer,
> > not the IDE's job.
>
> Most wise words indeed.
>
> Lots of programmers like to leave the task of project management
> up to the IDE. But this can be dangerous, as many times the IDE
> will get into trouble with the project management, especially as
> the complexity grows.

I believe it's my job to get as much done as I can--the more I can leave (or
push) to the computer the better. Maybe an IDE isn't the tool to manage the
complexity you're talking about--then we (you/me/whoever) should be looking
to improve or replace the tool. ;-)

regards,
Randy Kramer


Jacob Quinn Shenker

未讀,
2005年9月8日 晚上11:43:332005/9/8
收件者:
Yes, I do use your plugin.
I like the syntax highlighting, and know that good autocomplete in
Ruby is basically impossible just because of how lots of things happen
run-time in Ruby, but occasionally it gives me syntax errors on Rails'
(actually salted_login's) generated code, that runs fine. Rare though.
Overall, it is by far the best solution until Macromates get their act
together to port TextMate to Linux or Windows! ;-) Of course, I can't
wait for any improvements you come up with!

Jacob

tony summerfelt

未讀,
2005年9月9日 上午9:16:352005/9/9
收件者:
graham wrote on 9/7/2005 7:56 PM:

> will probably join the backwater of "almost" or niche languages like
> Effiel, Forth, Modula-2, Pascal(?), Lisp, D..... (the list is endless).

i'm not sure i'd put pascal in the 'backwater' category. maybe 'not
used as much'. borland had the pc programming market pretty much tied
up with turbo pascal 1. and the dos text mode interface that everyone
else copied by version 3.

pascal lives on today as delphi. you could probably reproduce a
complex delphi program just using vim, but i don't know of any delphi
developer that would want to.

i'm a touch typist so vim works especially well for me in just about
all the code i work on...

but when it comes to switching between several files, debugging,
testing an ide is more convenient. yeah i can do most of it in vim,
but the cirque de soleil keyboard acrobatics don't make sense compared
to a few mouse clicks.


--
http://home.cogeco.ca/~tsummerfelt1
telnet://ventedspleen.dyndns.org

Austin Ziegler

未讀,
2005年9月9日 上午9:54:202005/9/9
收件者:
On 9/9/05, tony summerfelt <snow...@hotmail.com> wrote:
> graham wrote on 9/7/2005 7:56 PM:
> > will probably join the backwater of "almost" or niche languages like
> > Effiel, Forth, Modula-2, Pascal(?), Lisp, D..... (the list is endless).
> i'm not sure i'd put pascal in the 'backwater' category. maybe 'not
> used as much'. borland had the pc programming market pretty much tied
> up with turbo pascal 1. and the dos text mode interface that everyone
> else copied by version 3.
>
> pascal lives on today as delphi. you could probably reproduce a
> complex delphi program just using vim, but i don't know of any delphi
> developer that would want to.

When I was doing some Delphi work 18 months ago, I did 90% of my
development outside of the Delphi environment and in vim. I used
Delphi for method completion and compiling only.

I work similarly with VisualStudio.

-austin
--
Austin Ziegler * halos...@gmail.com
* Alternate: aus...@halostatue.ca


tony summerfelt

未讀,
2005年9月11日 下午1:04:572005/9/11
收件者:
Austin Ziegler wrote on 9/9/2005 9:54 AM:

> When I was doing some Delphi work 18 months ago, I did 90% of my
> development outside of the Delphi environment and in vim. I used
> Delphi for method completion and compiling only.

i tried that with both delphi and c++builder and it was just too
painful. i really didn't feel like setting up vim for each ide i was
trying to replace

it's a great text editor for touch typists though. i usualy start all
my code with vim first...

Martin DeMello

未讀,
2005年9月11日 下午1:20:362005/9/11
收件者:
Austin Ziegler <halos...@gmail.com> wrote:
>
> When I was doing some Delphi work 18 months ago, I did 90% of my
> development outside of the Delphi environment and in vim. I used
> Delphi for method completion and compiling only.
>
> I work similarly with VisualStudio.

Same here, in both cases.

martin

jus...@zeusedit.com

未讀,
2005年9月11日 晚上8:38:272005/9/11
收件者:
> By the way, it appears rather difficult to make a Ruby IDE
> with tab-completion

The Zeus for Windows programmer's editor has a generic form
of code completion that derives it's information from the
tags generated by Exuberant Ctags.

The Exuberant Ctags lists Ruby as one of the supported
languages:

http://ctags.sourceforge.net/languages.html

so in theory this means the Zeus, Ruby code completion
should work in some limited fashion.

> because you can't know in advance the type of any object,
> and methods may be added and changed on the fly.

This form of dynamic code completion is definitely very
difficult to implement as it requires the editor/IDE to
have built-in knowledge of the language.

But for the more static type of coding, where some form
of ctags information is generated, a limited form of code
completion should be available.

Jussi Jumppanen
Author: Zeus for Windows

0 則新訊息