Get your CodeRanch badge!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Source code layout for SCJD Netbeans vs textpad or other editors. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Source code layout for SCJD Netbeans vs textpad or other editors." Watch "Source code layout for SCJD Netbeans vs textpad or other editors." New topic
Author

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

Yucca Nel
Ranch Hand

Joined: Nov 20, 2008
Posts: 147

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?


SCJP 6.0, SCJD (400/400), SCBCD for JEE 5, SCWCD 1.4 I do videos for development at
http://www.youtube.com/user/thejartender?feature=mhee
I am probably the only developer ever to have had an orange sized brain tumor in my brain while learning development!!
Kevin Florish
Ranch Hand

Joined: Jan 06, 2009
Posts: 163
Are you adhering to the maximum of 80 chars a line convention?

This might be your problem.


Java5 Tutorials | Java6 Tutorials | HTML/CSS Tutorials | JavaScript and jQuery Tutorials
Kah Tang
Ranch Hand

Joined: Sep 10, 2007
Posts: 58
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

Joined: Jul 24, 2008
Posts: 81
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.


SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCJD, SCEA in progress
www.ulisespulido.com
Anne Crace
Ranch Hand

Joined: Aug 29, 2005
Posts: 223
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


SCJP, SCJD
Ulises Pulido
Ranch Hand

Joined: Jul 24, 2008
Posts: 81
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Source code layout for SCJD Netbeans vs textpad or other editors.
 
Similar Threads
How to practise the sample code + how to install eclipse
IDE for Developer Certification??
Two versions of java on same system ?
Setting up Java
IDE for Java