File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Source code layout for SCJD Netbeans vs textpad or other editors.

 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The spacing is messed up. I open my source code in textpad and see a complete diff layout to netbeans. Which editor will the person reviewing my code use? Of course I am interested in knowing if there is a way to make my layout showable in all editors if thats possible?
 
Kevin Florish
Ranch Hand
Posts: 181
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you adhering to the maximum of 80 chars a line convention?

This might be your problem.
 
Kah Tang
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, there is an official convention to use 4 spaces instead of tabs for indenting. That could also cause trouble in different editors.
 
Ulises Pulido
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:

You may be able to use "checkspelling" a tool that will help you with all the java conventions which is good for the problem about editors you are having.
 
Anne Crace
Ranch Hand
Posts: 223
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulises Pulido wrote:Hello:

You may be able to use "checkspelling" a tool that will help you with all the java conventions which is good for the problem about editors you are having.
Don't you mean "checkstyle"? Eclipse has a plugin for Checkstyle. Unfortunately, spell check doesn't work in Eclipse
 
Ulises Pulido
Ranch Hand
Posts: 81
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anne Crace wrote:
Ulises Pulido wrote:Hello:

You may be able to use "checkspelling" a tool that will help you with all the java conventions which is good for the problem about editors you are having.
Don't you mean "checkstyle"? Eclipse has a plugin for Checkstyle. Unfortunately, spell check doesn't work in Eclipse


Yes you are right is Checkstyle :-) thanks for the correction
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic