Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I prevent Aptana Studio 3 from completing code with the 'tab' key

I'm using Aptana Studio 3, with content assist on, and I have a really annoying problem.

Basically, I'll find myself within single quotes or some other context that one can "tab" out of, and I'll type something like, say, "login". So, when I finish typing login, I use tab to get out of the quotes, but because autocomplete has found the "LoginForm" object, instead of bringing me out of the quotes, pressing tab adds "Form" to my "Login," writing "LoginForm".

Basically, I would like to set up the editor so that "enter" autocompletes and tab simply indents or tabs out of quotes/braces/etc.

like image 222
raphaeltm Avatar asked Feb 11 '12 07:02

raphaeltm


1 Answers

Press Esc then Tab, eventually you get used to it. I advise against editing your editor otherwise when you use another IDE you'll hit the same problem because that's what they all do.

If you really want to edit your aptanas keybindings: https://wiki.appcelerator.org/display/tis/Modifying+your+shortcut+keys

like image 107
samthebest Avatar answered Oct 29 '22 01:10

samthebest