Any TextMate Editor equivelent for Windows ?

J

Jules

Hello

I am looking for a decent Ruby and RAILs editor. (JEdit is not really
working out for me on Windows)

I notice that on the Ruby on Rails Demos (Weblog and Flicker) the guys
are using TextMate ( on MAC OS ?) It seems pretty effective.

Any views or ideas of an equivelent to TextMate that runs on Windows !
( No I guess not !)

Cheers

Jules
 
X

Xavier Noria

Hello

I am looking for a decent Ruby and RAILs editor. (JEdit is not really
working out for me on Windows)

I notice that on the Ruby on Rails Demos (Weblog and Flicker) the
guys
are using TextMate ( on MAC OS ?) It seems pretty effective.

Any views or ideas of an equivelent to TextMate that runs on Windows !
( No I guess not !)

Eclipse + RadRails is a good environment and is portable, check out
this demo:

http://download.radrails.org/video/RadRails_Import.mov

In my opinion the plugin needs yet some iteration, but works great
already.

-- fxn
 
J

James Britt

Jules said:
Hello

I am looking for a decent Ruby and RAILs editor. (JEdit is not really
working out for me on Windows)

I notice that on the Ruby on Rails Demos (Weblog and Flicker) the guys
are using TextMate ( on MAC OS ?) It seems pretty effective.

Any views or ideas of an equivelent to TextMate that runs on Windows !
( No I guess not !)

Not very optimistic, are you?


What features of TextMate are you looking for?

(I'm quite happy using vim, Windows file manager, and a handful of
custom Ruby shell scripts and Unix command ports for finding and
manipulating stuff from the command line. If there's something else find
I need to do at the command line, I can write a Ruby tool for it. If
I want to extend vim, I can use Ruby to do it. Works out well.)

James


--

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools
 
G

Gene Tani

James said:
Not very optimistic, are you?


What features of TextMate are you looking for?

(I'm quite happy using vim, Windows file manager, and a handful of
custom Ruby shell scripts and Unix command ports for finding and
manipulating stuff from the command line. If there's something else find
I need to do at the command line, I can write a Ruby tool for it. If
I want to extend vim, I can use Ruby to do it. Works out well.)

James


--

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools

There's been lots of positive discussions about lots of editors in
c.l.r: vim, emacs, komodo, eric, eclipse, arachno, scite, kate,
kdevelop, leo...
 
M

Marcel Molina Jr.

I am looking for a decent Ruby and RAILs editor. (JEdit is not really
working out for me on Windows)

I notice that on the Ruby on Rails Demos (Weblog and Flicker) the guys
are using TextMate ( on MAC OS ?) It seems pretty effective.

Any views or ideas of an equivelent to TextMate that runs on Windows !
( No I guess not !)

Although probably a more "heavyweight", the RadRails IDE (build on top of
Eclipse) seems to be getting some traction.

http://www.radrails.org/

marcel
 
C

Chad Perrin

(I'm quite happy using vim, Windows file manager, and a handful of
custom Ruby shell scripts and Unix command ports for finding and
manipulating stuff from the command line. If there's something else find

Care to share any details?
 
G

Gregory Brown

d

Care to share any details?

When I'm on windows the first thing I do is install MSys/MingGW. =20
This lets me use cmd.exe and avoid the mess that is cygwin. MSys
gives you 'most' of the necessary unix commands, meaning you could
then hack together scripts using backticks or even platform
independant scripts with Ruby and that should do the trick.

I too use vim on OS X, FreeBSD, a slew of linux distros and windows.=20
Nice to be able to have the same editor act (mostly) the same way on
so many systems...
 
J

Joel VanderWerf

Gregory said:
When I'm on windows the first thing I do is install MSys/MingGW.
This lets me use cmd.exe and avoid the mess that is cygwin. MSys
gives you 'most' of the necessary unix commands, meaning you could
then hack together scripts using backticks or even platform
independant scripts with Ruby and that should do the trick.

I too use vim on OS X, FreeBSD, a slew of linux distros and windows.
Nice to be able to have the same editor act (mostly) the same way on
so many systems...

There are also the gnu-win32 tools, which give you the usual
ls/grep/diff/yadayada as ordinary windows command line programs, and you
don't need the MSYS baggage:

http://gnuwin32.sourceforge.net/

(Though if you want the gcc build chain or you need a BASH-like
environment for other reasons, MSYS/MinGW is the way to go.)
 
J

James Britt

Chad said:
Care to share any details?

I have a few vim macros/mappings that insert text for common situations,
such as creating the 'initialize' method, or inserting the skeletal code
for in-file unit testing. Plus the things that come with the ruby-vim
menus and macro plugin (auto completion of certain Ruby control-flow
expression, quote, bracket, and paren closing; running the current
buffer by pressing f5; calling up ri for text under the cursor, and so on).

I have some command-line scripts to do very simple things. Most handy
is a grep-like thing that will find files based on some given file name
pattern; it searches from the current directory, and emits a numbered
list of matches. Type a number and the corresponding file opens in vim.
I can also run it with a second parameter to name the application that
should open the selected matching file (handy for finding and playing mp3s).

There's some port of unix tools I've installed (not cygwin, something
else) so I can run grep, ls, a few others.

I try to keep my files small, tend to embed unit tests in the same file
as each class, and don't have a strong need for an uber-IDE. Ruby makes
it easy enough to assemble little helper tools if I get tired of
repeating commands.

I often switch from Windows to Linux, and don't always have the option
of running a GUI shell, so sticking to vi makes life simpler (and the
same can be said of emacs and other Unix-based editors).

I keep multiple cmd.exe windows open (here's a tip: use the 'title'
command to name your Windows.); each of my project has a Ruby script
that opens up various cmd shells, each distinctly titled and colored so
I can more easily tell them apart. I've Ruby tools for bouncing
servers, launching browsers, updating remote servers, deploying
applications, running tests. (These should perhaps be Rake tasks, and
some of them have been ported, but that's not a habit I've acquired.)

Overall, I'm more of a fan of lots of little tools that play together
than The One True Tool.


James Britt

--

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools
 
C

Chad Perrin

Overall, I'm more of a fan of lots of little tools that play together
than The One True Tool.

As am I. Thanks for the run-down: that was much the sort of information
I was looking for.
 
C

Chad Perrin

How much more do you need? Maybe you should be asking about featurs
you'd like or issues you've run into and we can offer our
suggestions. Vim, standard unix commands, some rakefiles to automate
building gems, generating and uploading documentation, packaging my
code, running tests, etc do most of what I need for Ruby. For
non-ruby development such as C, I use things like splint and foo(1),
the latter being this weird little thing I wrote (a ruby util) that I
doubt would be super useful to anyone.

I don't really have specific needs I want addressed. To quote myself:
"I'm looking for ideas". That's all. A mention of using vim with some
automation scripts sparked my curiosity, as 'twere. It's the stuff I
haven't yet thought of that I'm hoping to get out of this.

I'll have a look at that. Thanks for the link.
 
J

Jules

Hello

Thanks for all the posts. Lots of useful tips on various tools, shells
and multiple cmd line tools/scripts, rather than one big IDE/Tool. So
many different ideas and tools, but they tend to be orientated around
unix type midntset.

The problem is that I am not very smart or clever, so I have relied
upon C# and Visual Studio, which I find to be very robust. My ideal
would be Visual Studio for Ruby, even if it is a dynamic language
outside of the Managed code environment. Robust code completion and
generation tools.

If Ruby/Rails is to take off in a big way we need simple/ robust
development environment for us simple folk. Just my view.

Jules
 
X

Xavier Noria

Thanks for all the posts. Lots of useful tips on various tools,
shells
and multiple cmd line tools/scripts, rather than one big IDE/Tool.

Well, someone mentioned Eclipse + RadRails, if Eclipse is something
that's big :). If you are an IDE guy that combo is good.

-- fxn
 
J

James Edward Gray II

So many different ideas and tools, but they tend to be orientated
around
unix type midntset.

Well, Ruby grew up on Unix. That an it's just a good mindset. ;)
The problem is that I am not very smart or clever, so I have relied
upon C# and Visual Studio, which I find to be very robust.

Sure you are. You're a programmer. ;)

You've also located a nice support group for the hard parts...
My ideal would be Visual Studio for Ruby, even if it is a dynamic
language
outside of the Managed code environment. Robust code completion and
generation tools.

If Ruby/Rails is to take off in a big way we need simple/ robust
development environment for us simple folk. Just my view.

Sadly, building these kinds of environments for Ruby are much harder
than they are for C#, because Ruby is so dynamic it's hard to make
safe assumptions about the code. This is the most likely reason you
don't see Visual Studio equivalent tools for Ruby.

I know we do have some IDEs and I hope they will continue to improve
for those that prefer that method of coding.

James Edward Gray II
 
G

Gary Allum

I know we do have some IDEs and I hope they will continue to improve fo= r =20
those that prefer that method of coding.

James Edward Gray II

I know that for myself I have somewhat dedicated the last few days, along=
=20
with a friend of mine, to trying out the IDE's that are out there; and =20
have unfortuantely been mostly disappointed, at least from a linux =20
standpoint.

--=20
http://digitalmassacre.com/codeerrors/
 
C

Chad Perrin

I know that for myself I have somewhat dedicated the last few days, along
with a friend of mine, to trying out the IDE's that are out there; and
have unfortuantely been mostly disappointed, at least from a linux
standpoint.

I always just kinda figured that Linux *is* my IDE.
 
M

Mitchell Hashimoto

Jules said:
The problem is that I am not very smart or clever, so I have relied
upon C# and Visual Studio, which I find to be very robust. My ideal
would be Visual Studio for Ruby, even if it is a dynamic language
outside of the Managed code environment. Robust code completion and
generation tools.

If Ruby/Rails is to take off in a big way we need simple/ robust
development environment for us simple folk. Just my view.

Why do you need a big IDE? I just use editpad lite (for the tabbed file
viewing) without syntax highlighting or any of that fancy mumbo jumbo. I
also always have a command window open at the same time :) So I can run
my tests, start my server, etc.
 
W

Wilson Bilkovich

Hello

I am looking for a decent Ruby and RAILs editor. (JEdit is not really
working out for me on Windows)

I notice that on the Ruby on Rails Demos (Weblog and Flicker) the guys
are using TextMate ( on MAC OS ?) It seems pretty effective.

Any views or ideas of an equivelent to TextMate that runs on Windows !
( No I guess not !)

I've used UltraEdit for a long time, and it's a great editor. It has
some nice 'project' features built in, but at its heart it's just a
lightweight text editor. Unfortunately, its syntax highlighting
system just isn't powerful enough to handle Ruby, and definitely isn't
up to handling ERb / RHTML files.
Here's an example of what a text editor has to deal with:
var =3D 'example'
print %Q- A fairly hard #{var}
-#{This is a comment, not a variable}

So, in recent days, I've switched over to Vim, in the form of:
http://cream.sourceforge.net
I'm still getting used to it, and getting over the lack of tabs for my
open files, but so far the "Ruby compatibility" is much higher. It
handles the highlighting for the above snippet of Ruby without any
difficulty.
 
W

Wayne Vucenic

Hi Jules,
My ideal would be Visual Studio for Ruby

I'm a big fan of Visual Studio. The closest thing I've been able to find
for Ruby is ArachnoRuby: www.ruby-ide.com

Sometimes I spend the day switching between Visual Studio (for C++
or C#) and ArachnoRuby, and it goes pretty smoothly. I even find
myself wishing that Visual Studio had some of the features that
ArachnoRuby does (like triple-click to select a line.)

Wayne
 
A

Alexander Jakopin

I've used UltraEdit for a long time, and it's a great editor. It has
some nice 'project' features built in, but at its heart it's just a
lightweight text editor. Unfortunately, its syntax highlighting
system just isn't powerful enough to handle Ruby, and definitely isn't
up to handling ERb / RHTML files.
Here's an example of what a text editor has to deal with:
var = 'example'
print %Q- A fairly hard #{var}
-#{This is a comment, not a variable}

So, in recent days, I've switched over to Vim, in the form of:
http://cream.sourceforge.net
I'm still getting used to it, and getting over the lack of tabs for my
open files, but so far the "Ruby compatibility" is much higher. It
handles the highlighting for the above snippet of Ruby without any
difficulty.

I'm also a Vim user, but without cream. But Vim isn't my only editor. I
also have used Jed and Emacs (yes, i have used Vim AND Emacs :p) in the
past.

I've found an interesting gui editor with the name "edit". Looks alot
like Textmate(I haven't used Textmate, just to clarify):
http://www.jessies.org/~enh/software/edit/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top