Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

12 August 2008

Reverting back to an older version of Eclipse/WOLips

When all hell breaks loose when upgrading Eclipse/WOLips:
1. Go to Help - Software updates - Manage Configuration
2. Select what you want to replace and click "Replace with Another Version" and select the desired version.

19 October 2007

My favorite Eclipse shortcuts


Select the current word

Ctrl + Shift + left/right arrow

Comment out selected lines

Opt + 7

Open Type

+ Shift + T very handy when you know the name of the class you need to check

Move selected lines up/down

Alt + up/down arrow

Copy selected lines up/down

Alt + Shift + up/down arrow

Bring up refactoring menu

Alt + Opt + T

Insert WOComponent

Opt + 6

Rename WOComponent

Opt + 2 then R

02 October 2007

Long WO

When my WebObjects span over a lot of space you can also set the name property of the closing WO tag to distinguish where that WO ends.


... lots of content

Language dictionary

Set you user defined dictionary
A lot of the words we use in our comments are specific to our work. You can add your external dictionary by doing the following:
Open Eclipse Preferences - General - Editors - Text Editors - Spelling
Under Dictionaries set a file for the User defined dictionary

Application Memory size

Add -Xmx400M in the Arguments launch configurations.
400 is the size of the VM heap size in MegaBytes in this example, the default size is 64.

Distinct WOPort number for each application?

Run any of your projects simultaneously.
Browser shortcuts to all of your projects.
Open the launch configuration for you project and change the WOPort parameter to a unique number( ex. 1200 and up )

Organizing your favorite launch configurations

Click the little triangle next to the Debug As... bug icon and select Organize Favorites
Click the Add button to insert a new launch configuration onto the top of the Debug As... list.

Changing an old launch configuration

Open Run - Open Debug Dialog
Under WOApplication you can change the settings of each of your launch configurations, and add new ones.

Changing the default settings for a new WOApplication launch configurations

Open Eclipse Preferences
Under WOLips and Launch you can change the settings

Disable auto opening of browser at launch

In the WO launch configuration set:

-WOAutoOpenInBrowser=false

Remove "Use Eclipse Browser" from the Browser launch configuration.
Add this to your default WOApplication launch preferences