Identation problems [message #123242] |
Mon, 01 December 2003 06:38  |
Eclipse User |
|
|
|
Originally posted by: paulj.inet.com
Hi,
I'm working in a java unix project but I'm facing serious problems with
identation. Problem is that I am compiling the project on Windows using
Eclipse, but there are other very guys in the project that using the old
and ugly VI editor to work their codes on UNIX. All the files that I edit
have bad identation. I tried to convert the delimiters from windows to
unix, but its does not work! The problem seems to be beyong that due to
TAB characters.
Because of this very bad issue, whenever I finish changing anything, I
have to open the file on unix, using the vi just to check the identation
and usually it is all wrong. It is getting nightmare. I'm usually spending
the double of time I spent coding just fixing identation.
I'm also unable to view the files created on unix correctly on Eclipse.
Again, they appear with very identation. I can't explain why..
Is there any solution for this? How can I make the Eclipse Editor reflects
EXACTLY the identation of the file when accessed by a UNIX machine?
thanks and regards
Paul
|
|
|
|
|
|
|
|
Re: Identation problems [message #124722 is a reply to message #123952] |
Thu, 04 December 2003 20:02  |
Eclipse User |
|
|
|
Don't mean to be mean but the word is 'indentation' :)
Bob Foster wrote:
> Before you do anything else to the files, set your tab width to 8 and look
> at them.
> Bob Foster
> "Paul Jone" <paulj@inet.com> wrote in message
> news:bqf97s$ea5$1@eclipse.org...
> > Hi,
> >
> > I'm working in a java unix project but I'm facing serious problems with
> > identation. Problem is that I am compiling the project on Windows using
> > Eclipse, but there are other very guys in the project that using the old
> > and ugly VI editor to work their codes on UNIX. All the files that I edit
> > have bad identation. I tried to convert the delimiters from windows to
> > unix, but its does not work! The problem seems to be beyong that due to
> > TAB characters.
> >
> > Because of this very bad issue, whenever I finish changing anything, I
> > have to open the file on unix, using the vi just to check the identation
> > and usually it is all wrong. It is getting nightmare. I'm usually spending
> > the double of time I spent coding just fixing identation.
> >
> > I'm also unable to view the files created on unix correctly on Eclipse.
> > Again, they appear with very identation. I can't explain why..
> >
> > Is there any solution for this? How can I make the Eclipse Editor reflects
> > EXACTLY the identation of the file when accessed by a UNIX machine?
> >
> > thanks and regards
> >
> > Paul
> >
|
|
|
Powered by
FUDForum. Page generated in 8.13215 seconds