News for hackers. Stuff that matters.
Re:TextMate vs AptanaStudio by axod on Wednesday March 18, 2009 @12:24PM (#521914)
I'm coming from jedit, and before that any other basic terminal text editor. I've never been one for help/bundles/snippets/macros/etc

My gripes come for instance when I go back to do something, and TextMate adds in extra idiocy eg

  a = 9+6
  // Oops, need to double all that - (9+6)*2, lets bracket it up...
  a = ()9+6
  // WTF TextMate added a close bracket that is clearly useless
My remaining gripe with TextMate is that I have soft tabs enabled, so pressing tab inserts 4 spaces. But when I press left arrow, it skips over 4 spaces at a time, or sometimes just 1 space if it's not at a tab boundary! I want it to only ever move by one space... (Any ideas welcome on this one).
Re:TextMate vs AptanaStudio by Hates_ on Wednesday March 18, 2009 @01:35PM (#521958)
The way to do it is to select the text you want surrounded (SHIFT + LEFT/RIGHT etc) and then press the opening bracket key. There are other tricks to this as well. If I press " it automatically gives me "" and places the cursor inside. I can then either press CMD+Return to drop me straight to the next line or CMD+left (CTRL-e) to jump to the end.

As for moving around, I just use shortcuts such as ALT+left/right or CMD+left/right (CTRL+a/e).

Re:TextMate vs AptanaStudio by anatoli on Wednesday March 18, 2009 @03:54PM (#522218)
> I've never been one for help/bundles/snippets/macros/etc

And you bought TextMate because... it's cool? I seriously don't understand, why you would buy TextMate, if you don't like using the very things that make it great.

Re:TextMate vs AptanaStudio by axod on Wednesday March 18, 2009 @04:52PM (#522336)
I'm evaluating it atm. If you know of something exactly like TextMate that is just a text editor (syntax highlighting), and not an "interfering code suggestion tool", I'd be interested.
Re:TextMate vs AptanaStudio by anatoli on Wednesday March 18, 2009 @05:50PM (#522421)
Smultron, BBEdit, TextWrangler... depends on what you need, TextWrangler and Smultron are probably the simplest, although they're also limited in certain ways.
Re:TextMate vs AptanaStudio by axod on Wednesday March 18, 2009 @07:57PM (#522571)
Hey thanks, TextWrangler looks much more promising than TextMate.
Re:TextMate vs AptanaStudio by jamongkad on Thursday March 19, 2009 @12:08AM (#522836)
You might want to try Vim.
Re:TextMate vs AptanaStudio by carlosrr on Wednesday March 18, 2009 @01:32PM (#521949)
If you select the 9+6 and then insert the opening parenthesis it will wrap everything automatically. This is not really intuitive, but the extra idiocy is there for a reason.
Re:TextMate vs AptanaStudio by axod on Wednesday March 18, 2009 @01:48PM (#521985)
Sure. But I don't want to select text, I want to type/edit the way I want to.

I've disabled all the 'insert extra random characters' shenanigans now.

Re:TextMate vs AptanaStudio by carlosrr on Wednesday March 18, 2009 @10:27PM (#522748)
There is an Auto-pair characters checkbox under Text Editing in the preferences.
Re:TextMate vs AptanaStudio by 1gor on Wednesday March 18, 2009 @05:25PM (#522385)
Does anybody know how to do this in emacs?
Re:TextMate vs AptanaStudio by eli on Wednesday March 18, 2009 @08:08PM (#522583)
That bugs me too. I wonder if I could hack the bundle to fix it...