« oracle.jbo.Session User Data Hashtable Not Saved Across Passivation and Activation | Main | ADF Faces Pages under WEB-INF Directory Do Not Render Correctly in 10.1.3.1 »

Defining the Tab Size in JDeveloper 10.1.3


In JDeveloper 10.1.2, you could specify that space characters, rather than tab characters, should be used for tab settings when you pressed the Tab key.
You could also determine the "Tab Size" (number of space characters added when pressing the Tab key).
This was done through Tools -> Preferences... in the Code Editor as shown here:
TabSizeJDev1012:


In JDeveloper 10.1.3 however, the same dialog doesn't include this option:
CodeEditorJDev1013:


To specify it in JDeveloper 10.1.3, you should specify it through Tools -> Preferences... in the Code Style (the entry just below Code Editor):
CodeStyle1013:


If you click the Edit... button, you'll access the different settings for Indentation:
TabSizeJDev1013:


Comments (1)

Erik Dybdahl:

Hello,
if you tell JDeveloper (10.1.3.3) to use tabs for indenting by checking "Use Tab Character", only statements are indented by tabs. E.g. function definitions are still indented using spaces. And having a mix of spaces and tabs is of course even worse than using spaces.
However, if you change the tab size from the default to i.e. 4, indenting works properly.
Regards,
Erik

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on November 22, 2006 10:01 AM.

The previous post in this blog was oracle.jbo.Session User Data Hashtable Not Saved Across Passivation and Activation.

The next post in this blog is ADF Faces Pages under WEB-INF Directory Do Not Render Correctly in 10.1.3.1.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle