Inserting a real tab if the editor is configured to use spaces [message #228890] |
Wed, 22 August 2007 13:48  |
Eclipse User |
|
|
|
I'm got a question that I can't seem to find the answer to so I'm hoping
that someone here can offer a solution.
I'm editing C/C++ code and have the editor setup to use spaces instead
of tabs. However, when I'm editing a makefile I must use a real tab
character for the rules.
Is there any easy way to insert a real tab into the editor even if it's
configured to use spaces?
I was hoping that I could setup a key-binding so that a Ctrl-Tab or
Shift-Tab could do that.
Does anyone have any suggestions?
thanks,
Jeff Cooper
|
|
|
|
|
|
Re: Inserting a real tab if the editor is configured to use spaces [message #229113 is a reply to message #228907] |
Thu, 23 August 2007 15:37  |
Eclipse User |
|
|
|
Ali,
Thanks for the sugguestion. I'll give that a try.
Jeff
Ali Burak Kulakli wrote:
> Hi Jeff,
>
> I have the same problem and here is how I handle it.
>
> I have installed anyedittools plugin which lets me convert tabs to spaces.
> So I am inserting tabs in the editor and when saving, they are converted to
> spaces. However, in some files, you need to keep tabs in the file. That
> plugin has an exclusion list so for example when editing a makefile, it does
> not convert tabs to spaces.
>
> Link is : http://andrei.gmxhome.de/anyedit/links.html
>
> It is not directly an answer to your question but I hope that helps,
> Burak
>
> "Jeff Cooper" <jeffc@logicpd.com> wrote in message
> news:fahsu9$b8$1@build.eclipse.org...
>> I'm got a question that I can't seem to find the answer to so I'm hoping
>> that someone here can offer a solution.
>>
>> I'm editing C/C++ code and have the editor setup to use spaces instead of
>> tabs. However, when I'm editing a makefile I must use a real tab
>> character for the rules.
>>
>> Is there any easy way to insert a real tab into the editor even if it's
>> configured to use spaces?
>>
>> I was hoping that I could setup a key-binding so that a Ctrl-Tab or
>> Shift-Tab could do that.
>>
>> Does anyone have any suggestions?
>>
>> thanks,
>> Jeff Cooper
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09106 seconds