Favorite editor

On my PC I had been using Notepad ++(best editor EVER); but when I got my Mac I realized that Notepad ++ only works on PC. So then I decided to use BBEdit, but now my trial expired. I have Text Wrangler, but I don’t really like it. So I am wondering, which text editor would you all recommend.

Much appreciated,
J.K. [import]uid: 66117 topic_id: 17419 reply_id: 317419[/import]

Have a look at the options available on a Mac and their *pros* and *cons* here

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 17419 reply_id: 65982[/import]

Hey, Jayant, thanks for the link! I use TextWrangler (because I already had it on my machine when I first started coding), but I’ve been contemplating on using something better (that would provide Syntax Highlighting, Line numbering, Function listing, Auto Complete, etc.) I just haven’t set aside time to investigate (and thought I’d look into it after my first game is done.) It’s great to see the laundry list of options with descriptions the way you have it.

Hey, Joe, you may also want to look at essential mac app list here. It’s a good place to look for resources (that said, there are 98 posts, and wading through it to come to a decision might take longer than you wish…)

Naomi [import]uid: 67217 topic_id: 17419 reply_id: 66021[/import]

I’m actually using TextWrangler, and love it. It’s also free. Text Wrangler does have a LUA mode so it does text highlighting and line numbering as a config option.

I like how TextWrangler can collapse and expand functions, loops, and multiline statements. If I’m not working on a given function, it’s collapsed to makes for quick scrolling and finding what you want. Really good search and replace capability.

One of my favorite features is indenting large blocks of text by selecting the block and pressing Command+[

Text editors are like the difference between Honda Accord and Toyota Camry. Both great cars and accomplish the exact same task, but with a slightly different approach.

-David [import]uid: 96411 topic_id: 17419 reply_id: 66031[/import]

Hey David, I haven’t discovered how I might collapse and expand functions, loops, and multiline statements using TextWrangler. I do love it’s search and replace capability though.

I do get the text highlighting (and without it, I would’ve never used TextWrangler) – but I didn’t know I could show the line numbering as a config option. Thanks for mentioning it. I just figured out I could show the line numbering by View > Text Display > Show Line Numbers. Sheesh, I’m so stupid not to know about it sooner. This will certainly make the coding/debugging process faster.

It sounds like I still have a lot to learn about TextWrangler.

Naomi

EDIT: I’m downloading the TextWrangler manual from http://pine.barebones.com/manual/TextWrangler_User_Manual.pdf

Maybe it will show me how I might collapse and expand functions, loops, and multiline statements using TextWrangler… If there are other manuals or instructions I should check out, please let me know. [import]uid: 67217 topic_id: 17419 reply_id: 66057[/import]

Sublime Text. Love it. [import]uid: 13180 topic_id: 17419 reply_id: 66069[/import]

Sublime Text2 is real good, Love the split view with tabs and the minimap feature. [import]uid: 13560 topic_id: 17419 reply_id: 66089[/import]

Hey guys,

Does exist a syntax (Auto-Complete) for Sublime Text 2 Mac OS?
PS: I`ve seen that editor and I did not gave it so much attention at that time but by now, humm its looking like very nice.
Thanks,
Rodrigo. [import]uid: 89165 topic_id: 17419 reply_id: 66092[/import]

@RSC
You can use the one for TextMate, the same goes for themes.

The only thing I haven’t got working is corona terminal output in the built in Console, I haven’t even tried to be honest… [import]uid: 13560 topic_id: 17419 reply_id: 66097[/import]

Hey Lano,

Thank you for the reply!!

Ive downloaded the TextMate Bundle and I think Ive done the setup with Sublime Text so so. :frowning: Because I did not understand WHAT TO DO EXACTLY with that folder we get when download the bundle from textMate. Would you mind explain?

The AUTO-COMPLETE is automatic? Like says…you`re typing and the auto-complete tool trying to show you the options? Or you have to click somewhere to see the proposes sintax?

PS: To summarize, how should I install the bundle inside the Sublime Text 2 beta? That`s the question!

PS2: Would not know you can run “templates”?!

Thank you in advance,

Regards,
Rodrigo. [import]uid: 89165 topic_id: 17419 reply_id: 66099[/import]

Here’s a little article I wrote on how to install the CoronaSDK TextMate bundle in Sublime Text2.
[import]uid: 13560 topic_id: 17419 reply_id: 66102[/import]

This AutoComplete does not work like it does in Xcode where you just type an it finds the right thing for you.

This is designed so you would type display.newImage and then press the TAB key and it fill in the params for that type of API and then you just press the TAB key to jump through the different params.

And since you have access to daily builds I suggest you update the widgets and add the new api for newRetinaText etc…

To do that you just find the right bundle you installed and open it with ST2 and edit it there. They are just xml files so just update the fields within that file and save. Then restart ST2 of course.

As for the launch Corona Simulator command, I have not got that to work because cmd + R opens the functions dialog of the current file you are in. So with that you can jump between your functions.

I haven’t done any research on that command but that is written in Apple Script and I don’t know if ST2 reads that. If I’m not mistaken ST2 is written in Ruby and I’ve never used that but I think it needs to be a Ruby script. Not sure though…

edit: ST2 have Apple Script syntax so you can write that but I still think the Launch Corona Simulator command needs to be a ruby script. [import]uid: 13560 topic_id: 17419 reply_id: 66106[/import]

Hey Lano,

Thank you very much for ALL these explanation, sincerely. I am going right now to check out the link with the manual you wrote as you passed above.

I only did not get it right when you said: “And since you have access to daily builds I suggest you update the widgets and add the new api for newRetinaText etc…”

So I do not know from where to get the new APIs (widgets for example) and where to ADD those new APIs as well. :frowning: Sorry. I`ll see what I can do as I do not want to take your time so much.
One more time, thank you!

PS: I`ve followed you there by Twitter as well - @RSCdev
Regards,
Rodrigo.

[import]uid: 89165 topic_id: 17419 reply_id: 66108[/import]

@RSC

I followed back.

I’ll send you a DM on twitter in a few minutes, check your inbox. [import]uid: 13560 topic_id: 17419 reply_id: 66112[/import]

Hi Naomi,

Look at “View”, then “Collapse All Folds” to collapse all functions into individual line items. “Expand All Folds” reverses everything.

The other feature I use a lot is the small pick list at the top of the document to jump to a function.

Awesome tool for the price!

-David
[import]uid: 96411 topic_id: 17419 reply_id: 66119[/import]

Thank you, David. I looked at “View”, but I don’t see “Collapse All Folds” (or “Expand All Folds”) under it. I must be missing something. Maybe I need to use some sort of plug-in for it to work?

Yes, it’s amazing for a free software. That said, I wouldn’t mind paying for a feature like Auto-Complete, which I’m sure will cut down on my dev time. For now, I’m pretty happy with what I can do with it anyhow.

Thanks again!

Naomi [import]uid: 67217 topic_id: 17419 reply_id: 66123[/import]

Hey Lano,
Many Thanks for the heads-up getting it setup and for the link of your blog as well!

I`ll use the Sublime Text 2 Editor for a while to feel it better although its already nice to have the auto-complete working.

Keep in touch mate.
Cheers!
Rodrigo. [import]uid: 89165 topic_id: 17419 reply_id: 66127[/import]

Hi Naomi!

How are you? hehe…hope well!

So…youre speaking about TextWrangle and I must say that was my first editor of use and so I think that there, for you to get the “Folds expanded or not”, you only need to notice a small ARROW at the left side of your editor (the same place where you can get the line numbers) and click on that as it should “hide” or “show” (expand folds or constrain that).

I am not so sure about it but its worth to check out.

PS: I do not believe you would need any plugin to get it working btw IMO.
Regards,
Rodrigo. [import]uid: 89165 topic_id: 17419 reply_id: 66129[/import]

Textmate is an awesome little light-weight editor that has better syntax highlighting than BBEdit, and there’s also a Corona SDK bundle for it, that allows you to launch the simulator straight from your project with Cmd + R (very useful!). [import]uid: 52430 topic_id: 17419 reply_id: 66131[/import]

I learned vi(www.vim.org) 12 year ago…That is the only text editor i ever needed for all the languages i have ever coded in since then…Agreed, there is a initial learning curve but the efficiency gain you get out VI is worth the time spent in learning the tool. With lua not having an official IDE, i can’t emphasize the value of using VIM as the editor.

Here is a article explaing using vim with corona:

http://www.cutemachine.com/corona-sdk-tutorial/corona-sdk-meets-vim/

Give it a try…

thx,
Bejoy [import]uid: 84539 topic_id: 17419 reply_id: 66135[/import]