ktauber.com Java / LDAP Programming Printable Page
Copyright © 2001-2003 Karl Tauber.
All rights reserved.

Powered by phpCMS.

TabSize OpenTool

Overview

The TabSize OpenTool is an add-on for the Borland JBuilder IDE. It can automatically change the tab size when you switch between files.

Maybe you have the following problem:
You want (or must) use a tab size of 4 for some projects and every time you look into the JDK sources, you have to change the tab size because the JDK sources use tab size 8.

Then this OpenTool is the solution for you.

It allows you to specify tab sizes for single directories or directory hierarchies and automatically changes the tab size when you switch between the files.

The status bar for a file shows the used tab size. If the standard tab size is used, then the status bar shows no tab size.

Usage

To specify a tab size for a directory hierarchy, create an empty file named ~base_tabsize=4 in that directory. 4 is the tab size. Of course, you can use any other tab size if you want. The tab size is then used for files in that directory and all subdirectories.

To specify a tab size for a single directory (without subdirectories), create an empty file named ~tabsize=4 in that directory.

Specifying the tab size using files has the advantage that you don't loose the setting when you copy or move your directories. It's also a good idea to add the ~base_tabsize=4 and ~tabsize=4 files to your source code control system.

Installation

  1. Quit JBuilder.
  2. Copy the TabSizeOpenTool.jar file into the <JBUILDER_HOME>\lib\ext directory.
  3. Restart JBuilder.

Uninstall

  1. Quit JBuilder.
  2. Delete the TabSizeOpenTool.jar file from the <JBUILDER_HOME>\lib\ext directory.
  3. Restart JBuilder.

Compatibility

This OpenTool has been tested with JBuilder 4, 5, 6 and 7. It does not work with JBuilder 8.

Known Bugs

  • Because there is only one tab size property for all opened files in JBuilder, it may take some time to change the tab size if there are many files opened.

License

TabSize OpenTool is free software,
licensed under the GNU General Public License (GPL).

Download

FileSizeDate
download TabSize OpenTool 1.0 16 KB2001-11-24
download TabSize OpenTool 1.0 Source Code 19 KB2001-11-24

Support

Please use the support forums to submit questions or report bugs.

History

Version 1.0 (2001-11-24)
  • Initial release.