Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » File Saving Plugin
File Saving Plugin [message #175080] Wed, 25 August 2004 11:03 Go to next message
Eclipse UserFriend
Can anyone tell me which plug in part actually saves file.
I am looking for area where it converts tabs to spaces while saving file.
Thanks.
Re: File Saving Plugin [message #175088 is a reply to message #175080] Wed, 25 August 2004 12:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

rohitsoftware wrote:

>Can anyone tell me which plug in part actually saves file.
>I am looking for area where it converts tabs to spaces while saving file.
>
>
"it" does not do this ;-)

Dani

>Thanks.
>
>
>
Re: File Saving Plugin [message #175103 is a reply to message #175088] Wed, 25 August 2004 12:36 Go to previous messageGo to next message
Eclipse UserFriend
Daniel Megert wrote:

> rohitsoftware wrote:

> >Can anyone tell me which plug in part actually saves file.
> >I am looking for area where it converts tabs to spaces while saving file.
> >
> >
> "it" does not do this ;-)

> Dani

> >Thanks.
> >
> >
> >
Well we do have in Eclipse setting to convert tabs to spaces- so where
would it do. It has to do either when loading or saving?
Re: File Saving Plugin [message #175136 is a reply to message #175103] Wed, 25 August 2004 13:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

rohitsoftware wrote:

> Daniel Megert wrote:
>
>>rohitsoftware wrote:
>
>>>Can anyone tell me which plug in part actually saves file.
>>>I am looking for area where it converts tabs to spaces while saving file.
>>>
>>
>>"it" does not do this ;-)
>
>>Dani
>
>>>Thanks.
>>>
>
> Well we do have in Eclipse setting to convert tabs to spaces- so where
> would it do. It has to do either when loading or saving?


I think it is the code formatter that does this - I've never seen an
option in Eclipse for doing the conversion automatically without doing a
Format.

HTH,
Eric
Re: File Saving Plugin [message #175166 is a reply to message #175136] Wed, 25 August 2004 14:50 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:

> rohitsoftware wrote:

> > Daniel Megert wrote:
> >
> >>rohitsoftware wrote:
> >
> >>>Can anyone tell me which plug in part actually saves file.
> >>>I am looking for area where it converts tabs to spaces while saving file.
> >>>
> >>
> >>"it" does not do this ;-)
> >
> >>Dani
> >
> >>>Thanks.
> >>>
> >
> > Well we do have in Eclipse setting to convert tabs to spaces- so where
> > would it do. It has to do either when loading or saving?


> I think it is the code formatter that does this - I've never seen an
> option in Eclipse for doing the conversion automatically without doing a
> Format.

> HTH,
> Eric

In Eclipse, Windows Preferences>Java Editor >typing tab has:
Insert spaces for tabs(see Code Formatter preference page)
Hence, when saving it should insert spaces for tabs- can code formatting
setting not do this. Any tracing I can put?
Re: File Saving Plugin [message #175174 is a reply to message #175166] Wed, 25 August 2004 14:58 Go to previous messageGo to next message
Eclipse UserFriend
Also, as in Eclipse 3.0 I see Java>Code Style> Code Formatter- but no tab
setting preference specifically for space conversion. The Use Tab
Character is unchecked.
Re: File Saving Plugin [message #175280 is a reply to message #175166] Thu, 26 August 2004 03:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

rohitsoftware wrote:

>Eric Rizzo wrote:
>
>
>
>>rohitsoftware wrote:
>>
>>
>
>
>
>>>Daniel Megert wrote:
>>>
>>>
>>>
>>>>rohitsoftware wrote:
>>>>
>>>>
>>>>>Can anyone tell me which plug in part actually saves file.
>>>>>I am looking for area where it converts tabs to spaces while saving file.
>>>>>
>>>>>
>>>>>
>>>>"it" does not do this ;-)
>>>>
>>>>
>>>>Dani
>>>>
>>>>
>>>>>Thanks.
>>>>>
>>>>>
>>>>>
>>>Well we do have in Eclipse setting to convert tabs to spaces- so where
>>>would it do. It has to do either when loading or saving?
>>>
>>>
>
>
>
>
>>I think it is the code formatter that does this - I've never seen an
>>option in Eclipse for doing the conversion automatically without doing a
>>Format.
>>
>>
>
>
>
>>HTH,
>> Eric
>>
>>
>
>In Eclipse, Windows Preferences>Java Editor >typing tab has:
>Insert spaces for tabs(see Code Formatter preference page)
>Hence, when saving it should insert spaces for tabs- can code formatting
>setting not do this.
>
It's a typing preference i.e. whenever you type a tab it will insert
spaces into the document. No need to patch it later.

Dani

> Any tracing I can put?
>
>
>
>
Re: File Saving Plugin [message #175360 is a reply to message #175280] Thu, 26 August 2004 09:56 Go to previous messageGo to next message
Eclipse UserFriend
Daniel Megert wrote:

> rohitsoftware wrote:

> >Eric Rizzo wrote:
> >
> >
> >
> >>rohitsoftware wrote:
> >>
> >>
> >
> >
> >
> >>>Daniel Megert wrote:
> >>>
> >>>
> >>>
> >>>>rohitsoftware wrote:
> >>>>
> >>>>
> >>>>>Can anyone tell me which plug in part actually saves file.
> >>>>>I am looking for area where it converts tabs to spaces while saving
file.
> >>>>>
> >>>>>
> >>>>>
> >>>>"it" does not do this ;-)
> >>>>
> >>>>
> >>>>Dani
> >>>>
> >>>>
> >>>>>Thanks.
> >>>>>
> >>>>>
> >>>>>
> >>>Well we do have in Eclipse setting to convert tabs to spaces- so where
> >>>would it do. It has to do either when loading or saving?
> >>>
> >>>
> >
> >
> >
> >
> >>I think it is the code formatter that does this - I've never seen an
> >>option in Eclipse for doing the conversion automatically without doing a
> >>Format.
> >>
> >>
> >
> >
> >
> >>HTH,
> >> Eric
> >>
> >>
> >
> >In Eclipse, Windows Preferences>Java Editor >typing tab has:
> >Insert spaces for tabs(see Code Formatter preference page)
> >Hence, when saving it should insert spaces for tabs- can code formatting
> >setting not do this.
> >
> It's a typing preference i.e. whenever you type a tab it will insert
> spaces into the document. No need to patch it later.

> Dani

> > Any tracing I can put?
> >
> >
> >
> >
OK..in that case can you let me know where is this conversion taking place.
Re: File Saving Plugin [message #175396 is a reply to message #175360] Thu, 26 August 2004 10:42 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

rohitsoftware wrote:

>Daniel Megert wrote:
>
>
>
>>rohitsoftware wrote:
>>
>>
>
>
>
>>>Eric Rizzo wrote:
>>>
>>>
>>>
>>>
>>>
>>>>rohitsoftware wrote:
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>>>Daniel Megert wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>rohitsoftware wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Can anyone tell me which plug in part actually saves file.
>>>>>>>I am looking for area where it converts tabs to spaces while saving
>>>>>>>
>>>>>>>
>file.
>
>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>"it" does not do this ;-)
>>>>>>
>>>>>>
>>>>>>Dani
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Thanks.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>Well we do have in Eclipse setting to convert tabs to spaces- so where
>>>>>would it do. It has to do either when loading or saving?
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>
>>>>I think it is the code formatter that does this - I've never seen an
>>>>option in Eclipse for doing the conversion automatically without doing a
>>>>Format.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>>HTH,
>>>> Eric
>>>>
>>>>
>>>>
>>>>
>>>In Eclipse, Windows Preferences>Java Editor >typing tab has:
>>>Insert spaces for tabs(see Code Formatter preference page)
>>>Hence, when saving it should insert spaces for tabs- can code formatting
>>>setting not do this.
>>>
>>>
>>>
>>It's a typing preference i.e. whenever you type a tab it will insert
>>spaces into the document. No need to patch it later.
>>
>>
>
>
>
>>Dani
>>
>>
>
>
>
>>>Any tracing I can put?
>>>
>>>
>>>
>>>
>>>
>>>
>OK..in that case can you let me know where is this conversion taking place.
>
>
>
See CompilationUnitEditor.TabConverter.

Dani
Previous Topic:Cheetah06: string concatenation optimization
Next Topic:Parsing Java Classes
Goto Forum:
  


Current Time: Wed Sep 24 15:42:57 EDT 2025

Powered by FUDForum. Page generated in 0.08213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top