# Does somebody use XCode on Mac for RoR instead of TextMate?

**URL:** <https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556>\
**Category:** Rails\
**Created:** [May 9, 2009, 9:55am UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556 "2009-05-09T09:55:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 9:55am UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/1 "2009-05-09T09:55:11Z")

</div>

does somebody use XCode on Mac for RoR instead of TextMate? 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.

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 11:25am UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/2 "2009-05-09T11:25:54Z")

</div>

Jian L. 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,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 11:42am UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/3 "2009-05-09T11:42:43Z")

</div>

On Sat, May 9, 2009 at 2:25 AM, Marnen Laibow-Koser \<  
removed\_email\_address@domain.invalid\> wrote:

> > 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,
> 
> Marnen Laibow-Koser  
> [http://www.marnen.org](http://www.marnen.org)  
> removed\_email\_address@domain.invalid

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

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 11:46am UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/4 "2009-05-09T11:46:42Z")

</div>

Conrad T. 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.

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 11:57am UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/5 "2009-05-09T11:57:04Z")

</div>

On Sat, May 9, 2009 at 2:46 AM, Jian L.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> 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

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 12:01pm UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/6 "2009-05-09T12:01:54Z")

</div>

Jian L. wrote:

> Conrad T. 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.

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 12:27pm UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/7 "2009-05-09T12:27:31Z")

</div>

On Sat, May 9, 2009 at 3:01 AM, 7stud –  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> > so there is no need to spend 39 euro to buy TextMate? I was wondering  
> > {
> 
> }  
> }
> 
> 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

---

<div class="post-metadata">

**Author:** ![jianlin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Post date:** [May 9, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/does-somebody-use-xcode-on-mac-for-ror-instead-of-textmate/167556/8 "2009-05-09T12:15:27Z")

</div>

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.
