does somebody use XCode on Mac for RoR instead of TextMate?

Jian Lin wrote:

does somebody use XCode on Mac for RoR instead of TextMate?

I've tried it, and it's OK, but you might be better off with jEdit or
KomodoEdit.

I wonder
how is it compared to TextMate... TextMate uses the default font of
Monaco... the Xcode screenshot on Wikipedia uses Courier... I wonder if
Xcode looks as good as TextMate when the font is changed to Monaco as
well? Thank you.

I think I had XCode using Monaco last time I worked with it. It looked
fine.

Best,

Jian, I use Xcode sometimes when I’m doing MacRuby development with

Monaco font and a size of 14pt. Xcode allows you to change the font size as

do most applications that allow you enter text.

Good luck,

-Conrad

Conrad Taylor wrote:

Jian, I use Xcode sometimes when I'm doing MacRuby development with
Monaco font and a size of 14pt. Xcode allows you to change the font
size as
do most applications that allow you enter text.

so there is no need to spend 39 euro to buy TextMate? I was wondering
if other editors can open up a folder and put it on the left panel like
TextMate does... that's kind of handy for RoR development.

You can simply use whatever makes you happy. BTW, most editors have similar

feature.

-Conrad

by the way, i was using Notepad++ a lot on the PC, and almost want to
just use that for anything... but it seems to have no way to open up a
folder like TextMate does... so it is a bit inconvenient for RoR
development.

Jian Lin wrote:

Conrad Taylor wrote:

Jian, I use Xcode sometimes when I’m doing MacRuby development with

Monaco font and a size of 14pt. Xcode allows you to change the font

size as

do most applications that allow you enter text.

so there is no need to spend 39 euro to buy TextMate? I was wondering

if other editors can open up a folder and put it on the left panel like

TextMate does… that’s kind of handy for RoR development.

I think rails.vim and project will do that for you.

Since Xcode is not able to properly indent braces used in this style:

somefunc()

{

while true

{



}

}

I find it the most frustrating IDE I’ve ever used. That is just basic

functionality that every IDE has to have. Not being able to get that

right is pretty pathetic. So I try not to use Xcode for anything.

This is very easy to do in Xcode. Thus, I can easily do both the following:

int someFunction() {

}

or

int someFunction()

{

}

The convention for braces in most C based languages (C, C++, Java) is

int someFunction() {

}

Why? It allows you to save a line for each block of code. This is very similar

to Ruby in this regard for both function and blocks. For example,

def some_function( some_arguments )

some_arguments.each do | argument |

end

end

-Conrad