How can I type a literal tab character in Eclipse?

advertisements

I feel very silly asking this question, but here goes. :)

I've configured Eclipse to insert spaces instead of tabs, but I'm working on a Makefile, which requires literal tab characters (see Can you make valid Makefiles without tab characters? for a good explanation).

So how do I type one, short of opening the Text Editors preferences, unticking the "Insert spaces for tabs" option, clicking Apply, and then undoing all of that when I'm done editing the makefile?


If you're using the Eclipse's built-in Makefile editor (included in the C++ package I believe), tabs should be literal.