Eclipse 3.3 M1 新特性一览

简介:
   Eclipse项目发布了3.3 M1. 新的发布版本进一步增强了eclipse在 SWT, debugging, platform text, JDT UI, installation wizards, 等方面的功能.


SWT
 
 

 

Printing support added on GTK+

Printing support has been added to SWT for GTK+. It is important to note that you must be running with GTK+ 2.10 or newer in order for this support to be utilized.

 

 

Option to print line numbers added to StyledText

When printing a StyledText widget, line numbers can now be printed by setting the StyledTextPrintOptions.printLineNumbers field to true.

 

 

System tray support added on Mac OS X

Icons placed on the system tray will now appear in the Mac OS X status bar.



 

 

Writing PNGs now supported

Images can now be written to disk in PNG format (example snippet).

 

 

Browser profiles now utilized on GTK+ and linux-motif

The Browser widget is now utilizing profiles on GTK+ and linux-motif. As a result many previous shortcomings have been fixed, including the inability to display https pages, not rendering visited links properly, and not caching visited pages.

 

 

Browser support added on PowerPC

Browser support has been added for the PowerPC architecture (GTK+).

 

 

GtkComboBox now utilized when available

GtkComboBox is now utilized natively for users that are running with GTK+ version 2.4 or newer.



 

 

User Assistance

 

Help home button

The help window now has a Home button in the navigation toolbar, which brings you back to the initial product-configurable home page.



Help search term highlighting

If you open a help document as a result of a search, a new toggle button will appear in the toolbar allowing you to toggle the search term highlighting on and off, making the document easier to read.



Debug

 

Browse all references (J2SE 6 only)

If you’re running your Java application with a J2SE 6 virtual machine, you can browse all references to an object in the variables view. Select any object in the variables view, and choose All References from the context menu. A pop-up displays all objects referring to the selected object. You can expand each node in the tree to follow references to each object. You can inspect any object in the reference tree by selecting it and pressing Ctrl+Shift+I. This opens an inspect pop-up displaying the object’s fields.



 

 

No more prompting

A user preference now controls whether you are prompted to confirm the deletion of all breakpoints in the workspace. The new preference is available on the Run/Debug preference page. As well, a check box in the confirmation dialog allows you to set the preference.



 

 

Auto format stack traces

Stack traces can be formatted automatically as you paste them into the Java stack trace console. An "Auto Format" toggle is available on the console tool bar.



 

 

Double-click and Ctrl+Shift+B for all kinds of breakpoints

Double-clicking in the vertical ruler, or invoking Toggle Breakpoint (Ctrl+Shift+B), now creates an appropriate kind of breakpoint based on the cursor location - line breakpoint, watchpoint, method breakpoint, or class load breakpoint. To create a class load breakpoint, double click on the class declaration line.



 

 

Platform Text

 

Scroll by pages using Ctrl + mouse wheel

The mouse wheel scrolls the content of a textual editor by pages while the Ctrl key is pressed.

 

 

More flexible templates

The syntax for templates has evolved to allow typed and parameterized template variables. This allows the same variable type to be used multiple times in the same template. As an example, consider the following template for generating a doubly nested for loop:



 

 

Contribute columns to vertical ruler

A new extension point, org.eclipse.ui.workbench.texteditor.rulerColumns allows the contribution of columns to the vertical ruler of any text editor.



 

JDT UI

 

Scripted refactorings

Now all refactorings offered by the Java Development Tools can be scripted, including Move, Copy, Paste, and Delete.

Use Refactoring > Create Script to create a script from the refactoring history and Refactoring > Apply to apply one.



 

 

More Java search options

The Java search dialog has been extended to offer finer control to limit the scope to search in sources, JRE libraries, required projects, and application libraries.



 

 

Paste type declaration creates new project

Ever wanted to quickly try out a code snippet somebody sent to you? Copy the snippet to the clipboard, go to the Package Explorer, select nothing, and choose Edit > Paste (Ctrl+V). 


Eclipse will try to parse the contents of the clipboard, and if it looks like contents for a *.java file, it will create a new Java project and paste the *.java file.


Like in 3.2, you can, of course, still select an existing project or package as target for the new file.

 

 

JDT Text

 

Template for adding JUnit 4 test methods

A new Test template has been added to speed up adding JUnit 4 test methods.

 

 

Configurable Javadoc font

The font for displaying Javadoc is now configurable on the General > Appearance > Colors and Fonts preference page. The Javadoc display font is used by the Javadoc view and hover, and for the additional information shown during content assist.



 

 

Syntax coloring for brackets

Brackets may now be colored separately from operators in the Java editor via the Java > Editor > Syntax Coloring preference page.



 

Update/Install

 

 

Install wizard improvements

The Installation page of the Install wizard now presents features in an easy-to-use table that includes the name, version, size, and target location of each feature. A Change Location button lets you easily change the target location of the selected features.



 

Team/CVS

 

Import CVS projects directly into working sets

You can now assign CVS projects to a working set during the import step. This is available from both the CVS Repository View (via Check Out As) and through the CVS Import Wizard.



 

 

Export working sets as part of team project set

The export wizard is now able to persist active working sets as part of a Team Project set.



 

 

History view search

The History View has a new search field which allows you to perform a quick search on the displayed revisions. The search compares the author, comment, revision, and tags against the entered string. The field is accessible via the drop down menu.



 

 

 

PDE

Content assist in plugin.xml

Content assist (Ctrl+Space) is now available on the plugin.xml source page to give you context-sensitive information as you create extensions and extension points. Features include:

completion proposals for extensions, extension points, attributes, and elements
auto-generation of required elements and attributes
Note that the content assist can be activated without the need for a partial string. PDE uses extension point schemas to determine which elements and attributes are suitable for the current context.



Content assist in MANIFEST.MF

Content assist (Ctrl+Space) is now available on the MANIFEST.MF source page, including completion proposals for:

header names, attributes, and directives
header values such as plug-in IDs, package names, and Java class names
boo lean and enumerated values for attributes and directives

 

Field assist in Forms

All fields denoting classes in the plug-in manifest editor now support a field assist feature to help you complete the name of a partially entered class name.

This feature works in a similar way to the content assist in the Java editor, and supports package names and CamelCase.



Hyperlinking and open declarations

Hyperlinking (i.e. the use of Ctrl+Left to navigate from one editor to another) is now supported on the plug-in manifest editor source page. The usage of the F3 key to open declarations is also supported and provides the same functionality as hyperlinking.

Hovering over attribute values on the plugin.xml page and pressing Ctrl+Left can be used to

open resources and Java type declarations
open extension point schema descriptions
navigate from a translated key reference to that key in the properties file


Hyperlinking provides additional functionality on the MANIFEST.MF source page including:

opening manifest editors for referenced plug-ins
opening referenced packages


Code folding

Folding is now supported on the plugin.xml and MANIFEST.MF source pages of the plug-in manifest editor to make large files more manageable.

The option to turn folding on and off can be found on the Plug-in Development > Editors preference page.



Code formatting

Line wrapping introduced by some packaging tools make the plug-in MANIFEST.MF file hard to read. PDE now provides a Format action in the context menu of the MANIFEST.MF source page to format the contents of the file into something more human-readable.



Filtered extensions

The Extensions tab of the plug-in manifest editor allows the filtering of the Extensions tree based on a text filter. This function is particularly useful when searching for that one contribution among a long list of extensions.



本文转自Phinecos(洞庭散人)博客园博客,原文链接:http://www.cnblogs.com/phinecos/archive/2006/08/15/477478.html,如需转载请自行联系原作者
目录
相关文章
|
缓存 IDE Java
基于eclipse的源码阅读配置指南
本文主要阐述了在eclipse环境中如何配置加载jdk源码以及利用jad反编译技术加载不带源码的第三方源码,重点讲解了jad反编译技术的配置。
251 0
基于eclipse的源码阅读配置指南
|
IDE Java 开发工具
阿里巴巴Java开发规约-插件使用[Idea和Eclipse]
阿里巴巴基于手册内容,研发了一套自动化的IDE检测插件(IDEA、Eclipse)。该插件在扫描代码后,将不符合规约的代码按Blocker(命名不符合规范)/Critical/Major三个等级显示在下方,甚至在IDEA上,我们还基于Inspection机制提供了实时检测功能,编写代码的同时也能快速发现问题所在。对于历史代码,部分规则实现了批量一键修复的功能,如此爽心悦目的功能是不是很值得拥有?提升代码质量,提高团队研发效能,插件将会一路同行。
1103 0
阿里巴巴Java开发规约-插件使用[Idea和Eclipse]
|
Java 程序员 Android开发
IDEA/eclipse集成阿里巴巴Java开发规约插件
IDEA/eclipse集成阿里巴巴Java开发规约插件
338 0
IDEA/eclipse集成阿里巴巴Java开发规约插件
|
Android开发
Drool实战系列(二)之eclipse安装drools插件
这里演示是drools7.5.0,大家可以根据自己需要安装不同的drools版本 drools安装地址: http://download.jboss.org/drools/release/ 一、    二、点击进入7.6.0.Final,并选择droolsjbpm-tools-distribution-XXX.zip(XXX为版本号)进行下载    三、将下载完的插件解压到本地 启动Eclipse,选择help-> install new software。
2191 0
|
Android开发 前端开发 Windows
[Eclipse]GEF入门系列(四、其他功能)
最近由于实验室任务繁重,一直没有继续研究GEF,本来已经掌握的一些东西好象又丢掉了不少,真是无奈啊,看来还是要经常碰碰。刚刚接触GEF的朋友大都会有这样的印象:GEF里概念太多,比较绕,一些能直接实现的功能非要拐几个弯到另一个类里做,而且很多类的名字十分相似,加上不知道他们的作用,感觉就好象一团乱麻。
1333 0
|
Java API 开发工具

热门文章

最新文章

相关课程

更多