• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Formatting errors in Java assignments

 
Ranch Hand
Posts: 30
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 56
Android Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic