• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

how to set up JBuilder's text editor?

Hi experts,

I am new to JBuilder and wonder if anyone knows how to set up the text editor, so it will be easier to edit the codes? I mean like tab indent, block indent? Also, what is the convention in terms of the format of the code? Whould the function start at the first line, or not? thanks.
0
panpioneer
Asked:
panpioneer
  • 2
1 Solution
 
Farzad AkbarnejadDeveloperCommented:
1. Try "Run>Run Project" command on menu bar.
2. In the Project Properties dialog box goto Formatting tab.

-FA

0
 
TimYatesCommented:
> what is the convention in terms of the format of the code

There are a couple of styles that are generally accepted...

This is the one Sun recommends:

http://java.sun.com/docs/codeconv/

I personally prefer to have opening braces "{" on a new line rather than at the end of a function definition, or for block...  I just prefer it

*shrug*

So long as you can defend your style, and you are consistent, and it doesn't annoy your co-workers, there shouldn't be a problem ;-)
0
 
Farzad AkbarnejadDeveloperCommented:
It is OK and I am agree.

-FA
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now