Java Tooling Release Notes

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input March 14th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/03/06 and 2003/03/14
Eclipse Build Input March 6th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/03/04 and 2003/03/06
Eclipse Build Input March 4th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/27 and 2003/03/04
Eclipse Build Input February 27th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/20 and 2003/02/27
Eclipse Build Input February 20th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/18 and 2003/02/20
Eclipse Build Input February 18th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/13 and 2003/02/18
Eclipse Build Input February 13th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/11 and 2003/02/13
Eclipse Build Input February 11th 2003

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/07 and 2003/02/11
Eclipse Build Input February 6th 2003

## What's new in this drop

- The JUnit plugin provides an extension point to register additional test run listeners.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/02/05 and 2003/02/06
Eclipse Build Input February 5th 2003

## What's new in this drop

- Package Explorer and Projects view offer to filter non-shared projects.
- Show in Package Explorer/Show in Navigator was replaced with the new Show In.., support.
- Package Explorer: a class path container/library is no presented as a single node with children.
- Problem annotations in the editor's vertical ruler become gray when the problems have gone during editing.
- Rework of Edit and Navigate menu
- Presentation of task tags in the editor can be configured
- The hyper link style navigation can be switched off.
- Automatically inserted ')' and '}' can be deleted with "Del".

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/01/28 and 2003/02/04

Eclipse Build Input January 28th 2003

## What's new in this drop

- New Non-Java projects are now shown in the Package Explorer. Added a filter to hide non-Java projects.
- Open Type Dialog no support the special end of type name character <. If you want to see all types that end with factory you have to use the pattern *factory<. If a pattern doesn't end with < then a star is automatically added to the pattern.
- The Project menu now contains two actions to quickly open the Generate Javadoc and the Java Build Path dialog.
- The Java editor preference pages have been reworked. Java editor text hovers are now fully user configurable.
- New Push Down refactoring. To use it, select set of non-static methods and fields (declared in a class) and choose 'Push Down' from the menu. You can then, for each of the class methods and fields choose if you want to either

- push it down to subclasses or
- (in the case of methods) push down to subclasses and declare abstract in the class that currently declares the method or
- leave as is

- Class file editor and compilation unit editor have been unified. Both are supporting now: current line highlighting, line numbers, overview rulers, bracket matching (painting + navigation), squiggly lines, print margin indication, error navigation, goto previous and next member, and expand to selection.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/01/21 and 2003/01/28

Eclipse Build Input January 21th 2003

## What's new in this drop

- Pull Up refactoring is more powerful now. Additional functionality includes:

- You can add new members to pull up after the refactoring dialog appears.
- Members can be pulled up more than 1 level in the class hierarchy.
- Instead of pulling methods up you can choose to declare them abstract in the destination class. Refactoring will then add method stubs to all non-abstract subclasses of the destination class (only those that require such additions).
- By pressing 'Pull Up Required Members' you can compute the set of all members that are required to be pulled up together with those already selected.

- Move refactoring now supports updating qualified names in non Java files as well.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/01/14 and 2003/01/21

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input January 14th 2003

## What's new in this drop

- New Move instance method refactoring: you can select a virtual method and select Move from the context menu. It allows you to move the method to the declared class of a field of the class or the declared class of one of the method's parameters. The refactoring will creat the new method and convert the old method into a delegate (passing 'this' if necessary).

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2003/01/07 and 2003/01/14

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input January 7th 2003

## What's new in this drop

- A new font definition for Java editors has been added. As a consequence, the Java editor font preference has moved from the Java Editor preference page to the Workbench's Font preference page.
- Run the currently selected method as a JUnit test.
- New search action: Occurrences in File - the action finds all the occurrences of the selected element in a Java editor. For variables the read or write access is indicated in the search results.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/12/16 and 2003/01/07

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input December 16th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/12/13 and 2002/12/16

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input December 13th 2002

## What's new in this drop

- Hovers in overview ruler

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/11/27 and 2002/12/13

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input December 10th 2002

## What's new in this drop

- New lightweight refactoring user interface implemented. It is enabled per default, but if you expierence any problems you can disable the new UI and switch back to the old wizard based UI using the preferences Java->Refactoring->User Interface mode.
- Package Explorer now retargets action Navigate->Go To->Resource.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/11/27 and 2002/12/10

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input December 3rd 2002

## What's new in this drop

- Added automatic closing of braces to Java editor (can be turned off in behaviour tab of Java editor preference page)

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/12/03 and 2002/12/10

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input November 26th 2002

## What's new in this drop

- outline of compilation unit in a content assist like lightweight window available inside the editor:

- Show Outline (Ctrl+O) shows the outline for the editor's input
- Open Structure (Ctrl+F3) shows the outline for the element at caret position

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/11/19 and 2002/11/26

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input November 19th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/11/16 and 2002/11/19

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input November 12th 2002

## What's new in this drop

- JUnit 3.8.1 support.
- Overloaded F2 key to make a text hover sticky in the Java editor.
- Added smart pasting for correct indentation in Java source code. The feature can be turned off in the Java Editor behavior preferences.
- Java Editor hover configuration now allows to configure default hovers.
Note: Existing current hover preferences in an old/existing workspace will be reset to default.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/11/05 and 2002/11/12

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input November 06th 2002

## What's new in this drop

- Added link-like navigation for declarations to Java editor. While the Control key is pressed, text over which the mouse hovers and which have a declaration turn into links which can be clicked. The link color can be changed on the Java Editor Appearance Preference page.
- Applied patch submitted by Scott Rutledge to go into top level type in Java outliner.
- Added new view menu option in the Package Explorer called "Layout" which allows to switch between "Flat" and "Hierarchical" (default is flat). The "Hierarchical" layout displays the package structure in a tree. There is also a preference (Java -> Appearance)
which allows to set if empty package fragments are folded together when in hierarchical view (default is folded).
- Work in progress: Java Editor hovers can now be configured per modifier (Window -> Preferences -> Java -> Editor -> Hovers). The enable/disable button in the workbench toolbar affects all configured hovers.
- Applied patch submitted by Sebastian Davids. It adds the new template variable ${year}.
- Added a new refactoring, Inline Constant. This refactoring operates on multiple compilation files, and lets the user automatically replace references to a static final field with expressions equivalent to the field's initializer (provided the static final field is not blank). The action can be invoked when a reference to, or declaration of, such a constant is selected, either in the editor, or in an outline. The user can choose to only inline the selected reference (if a reference is selected), inline all references (anywhere in the workspace), or inline only some references, selecting only the desired changes from the preview page. If all references are to be replaced, the user can choose to have the constant declaration removed. When the initializer expression refers to entities not visible from a particular inline site, the initializer will be adapted to that inline site by qualifying the names of some of the entities (by prepending multiple levels of enclosing class names). If the initializer refers to non-static or non-final fields, the user will be unobtrusively warned.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/10/31 and 2002/11/05

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input October 29th 2002

## What's new in this drop

- Added new 'Promote Local Variable to Field' refactoring - to perform, select a local variable in the editor and choose 'Promote Local Variable to Field'. You can then select the field's visibility and other modifiers (if applicable). If the variable is initialized on creation, then the refactoring allows moving the initialization to the class' constructors or the new field's declaration.
- Added new 'Convert Anonymous Class to Nested Class' refactoring - to perform, select an anonymous class delcaration and choose 'Convert Anonymous to Inner'. You can then choose a name and visibility for the new class. The refactoring then also passes accessed local variables to the new class via added constructor variables. This refactoring is useful for instance when you realize that your inner class has grown too big to be anonymous. Btw, you can then (if it ever grows even more or proves to be more generally useful) move it to top level by using the 'Move Nested to Top Level' refactoring.
- Added new shortcut to Java Editor: "Open Declaration" can now be triggered with Ctrl-Left Mouse Button as well.
- Added first batch of Mac OS X keybindings.
- A new icon is used for an empty package that contains resources.
- New property page on Java projects to define project specific compiler settings.
- New UI to define special tasks tag. Task tags can be used in comments and the compiler will generate a marker when detected. Example usage of a task tag is 'TODO' to mark code that has to be revisited.
- Added name guessing for the Extract Constant refactoring.
- JUnit: added support to find and navigate to tests that reference a particular type or method. The action is in "Navigate>Go To>Referring Tests".

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/10/22 and 2002/10/29

# Eclipse Platform Build Notes
Java development tooling UI

Eclipse Build Input October 16th 2002

## What's new in this drop

- Added "Goto Matching Bracket" action to Java editor (Ctrl+Shift+P)

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/10/09 and 2002/10/16

Eclipse Build Input October 9th 2002

## What's new in this drop

- Added "Edit Working Set..." to JDT view menus
- Inline Method - new refactoring. To activate the refactoring, select a method invocation in a compilation unit editor and select Inline Method from the refactoring menu. Alternatively, select a method declaration in the editor.
You can choose between inlining only the selected method call or inlining all calls (in which case you can also delete the method).
Note that currently no checking is done if method to be inlined is reimplemented in subclasses.
- Change Signature refactoring: Modify Parameters refactoring has been enhanced to add and remove parameters. Also, the parameter types and the method return type can be changed. The declaration of the method, declarations of methods overriding/implementing it and all invocations are updated accordingly.
Currently, to change the method's name Rename refactoring should be used. This will change in a future release - Change Signature will allow renaming the method too.
To activate - select a method or constructor and choose Change Signature.. from the Refactor menu.
- Use Supertype Where Possible refactoring: new refactoring that replaces usages of a type with one of its supertypes.
It computes the largest set of references that can be updated.
To activate, select a type and choose Use Supertype Where Possible....
- Extract Constant refactoring: new refactoring to create a constant (a static final field) out of a selected expression. To activate, select an expression in the editor and choose Extract Constant from the context or global Refactor menu. You can replace all matching or only the selected expression.
- New Quick fixes

- Fix usage of non visible methods/ fields, types and imports
- Fix access of instance variables in static contexts
- Fix for abstract methods in non-abstact types
- Fix type has unimplemented abstract methods
- Fix to add additional catch clauses for uncaught exceptions

- New API class: `IClasspathContainerPageExtension`: Classpath container pages that implement `IClasspathContainerPage` can optionally implement `IClasspathContainerPageExtension` to get additional information about the context when the page is opened.
- JUnit Plugin Tests (not part of the SDK, but available as an optional plugin). The launching was changed to be more compatible with PDE. This avoids plugin version conflicts and supports running tests with references to external plug-ins (not all referenced plugins have to be available as binary projects).

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/10/01 and 2002/10/08

Eclipse Build Input October 1st 2002

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/09/24 and 2002/10/01

Eclipse Build Input September 24th 2002

## What's new in this drop

- JUnit launch configuration - support for creating a config that runs all tests inside a package, source folder or projects.
- Different icon for empty package

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/09/18 and 2002/09/24
Eclipse Build Input September 17th 2002

## What's new in this drop

- Added Behavior tab to Java Editor Preference Page for smart insertion/skipping of parenthesis and brackets, smart wrapping of strings
- Compiler preference page contains new options; new tab created

- Task markers: Compiler generates markers when special keywords are detected
- Deprecated in deprecated: Select if the usage of deprecated API is shown if the method is already deprecated.

- New preference page to specify the sort order of members in Java views
- Move to Previous/Next Member - use Ctrl+Shift+Down/Ctrl+Shift+Up to quickly navigate between methods, types, fields and initializers
The action is also available from the Edit menu
- Extract Interface refactoring - creates a new interface with a set of method and makes the selected class implement the interface.
Also, an option is provided to change references to the class into references to the new interface (where possible).
The refactoring can be activated by selecting a class and choosing the appropriate entry from the context or global Refactor menu.
- Move Inner Class to Top Level refactoring - select an inner class and choose the appropriate action from
the context or or global Refactor menu. A new compilation unit will be created and the inner class will be moved to that compilation unit.
Where necessary, references will be updated. If the class is not static, then a field is created to access the enclosing instance.

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/09/11 and 2002/09/17

Eclipse Build Input September 10th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/09/04 and 2002/09/10

Eclipse Build Input September 3rd 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/08/28 and 2002/09/03

Eclipse Build Input August 27th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/08/21 and 2002/08/27

Eclipse Build Input August 20th 2002

## What's new in this drop

- added feature to guess arguments in method completion
- added feature to wrap a selection with a template

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/08/14 and 2002/08/20

Eclipse Build Input August 13th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/08/07 and 2002/08/13

Eclipse Build Input August 6th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/07/31 and 2002/08/06

Eclipse Build Input July 30th 2002

## What's new in this drop

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/07/24 and 2002/07/30

Eclipse Build Input July 23rd 2002

## What's new in this drop

- Removed all 2.0 build notes. They can be found in buildnotes_jdt-ui_2_0.html

## Problem Reports

Click here to see PRs which have been marked as RESOLVED or CLOSED between between 2002/06/29 and 2002/07/23