How to increase the number of recent workspaces in the eclipse based IBM RAD (Rational Application Developer) IDE?

Did you sometimes get annoyed because you had lots of your workspaces and the eclipse IDE just showed last 5 of those workspaces in the recently opened workspace list? I would love to see at least ten or 15 of my recent workspace on that list because it saves my time browsing to that workspace location. There is a simple way to change the number of recently changed workspaces to show more workspaces. Here is how you do it.

  • Open the folder: C:\Program Files\IBM\SDP\configuration\.settings
  • Edit the file: ‘org.eclipse.ui.ide.prefs’
    • Change MAX_RECENT_WORKSPACES to desired value.

Content of sample file:

#Wed Apr 13 15:24:50 CDT 2011

RECENT_WORKSPACES_PROTOCOL=3

MAX_RECENT_WORKSPACES=15

SHOW_WORKSPACE_SELECTION_DIALOG=true

eclipse.preferences.version=1

RECENT_WORKSPACES=C\:\\Workspaces\\CQCodeReview\nC\:\\Workspaces\\TempWS\nC\:\\Workspaces\\CSSVN\nC\:\\Workspaces\\CQTempTrunk\nC\:\\Workspaces\\CQ

Originally posted 2011-04-30 18:13:03.

Share

How to use spaces in IBM RAD or Eclipse Instead of Tabs

Having tab characters in the source code is not a very good coding practice. Static file analyzers like checkstyle can be configured to catch the tab characters as either warnings or errors but that configuration is beyond the scope of this article.

I will however talk why tab characters are bad:

  1. Tab characters need to be configured with the tab width and different users might choose to have different tab width (some may choose 3 characters, some 5), and thus the code violates the standard coding practice, especially when the code is shared and edited by multiple users.
  2. The other problem as mentioned in the Apache Jakarta coding standards is that in a ]distributed development environment, when the commit messages get sent to a mailing list, they are almost impossible to read if you use tabs.

By default, when you use your IDEs like IBM Rational Application Developer or Eclipse, the text editors are configured to insert tabs by default. So how do you tell the IDEs to use spaces instead of tabs? Follow the following steps.

Configure your default Text Editors:

Window->Preferences->Editors->Text Editors->Insert spaces for tabs

If you are using Eclipse 3.6

Window->Preferences->General->Editors->Text Editors->Insert spaces for tabs

You might also want to configure your Java Code Style Formatter

Window->Preferences->Java->Code Style->Formatter->Edit->Indentation = "Spaces Only"

Blog Widget by LinkWithin

Originally posted 2012-05-05 12:10:39.

Share