wood burning stoves*
The moose likes Cattle Drive and the fly likes Formatting errors in Java assignments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Formatting errors in Java assignments" Watch "Formatting errors in Java assignments" New topic
Author

Formatting errors in Java assignments

Armando Moncada
Ranch Hand

Joined: Nov 14, 2011
Posts: 30

I am asking again for any help regarding the following:

I am using Yahoo mail and have tried my gmail account as well but my assignments keep getting sent back to me with formatting errors. I am using plain text as requested and putting them in the body of the email. I copy and past from Notepad++. Does any one have any suggestions. Currently, I have to type it in character by character.

It screws up the indentation, some of the braces are in the wrong place, and some of the lines are indented incorrectly.


Armando
David Mason
Ranch Hand

Joined: Jan 21, 2002
Posts: 56

Hi Armando,

It could be that Notepad++ is using Tabs & hiding the fact from you.

You can check whether you are using spaces or tabs here ...

Within Notepad++, go to Settings, then preferences, then "Language Menu / Tab Settings".

In the "Tab Settings" box, is "Tab size :" set to 4 and the "Replace by space" checkbox checked ?

(This is probably the
something that automatically converts tabs to spaces or vice-versa
that Marilyn was asking about in your duplicate thread.)

Hope this helps
DBM
 
 
subject: Formatting errors in Java assignments
 
Similar Threads
Struts 2, checking for field errors and then changing the target of a form
Comparing oracle date with java util
escapre character for xml
Formatting my assignments
URLEncoder question