• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you adhering to the maximum of 80 chars a line convention?

This might be your problem.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic