本页主题: Eclipse 3.4M2 发布! 打印 | 加为IE收藏 | 收藏主题 | 上一主题 | 下一主题

yipsilon

头衔:社区十大NB青年! 社区十大NB青年!
状态: 离线
级别: CEC经理
精华: 8
发帖: 1495
威望: 223 点
财富: 58 元
在线时间:251(小时)
注册时间:2005-08-21
最后登录:2008-11-04

Eclipse 3.4M2 发布!

本帖被 yipsilon 从 回收站 移动到本区(2007-10-08)
下载地址:http://download.eclipse.org/eclipse/downloads/drops/S-3.4M2-200709210919/index.php

Eclipse 3.4 M2 - New and Noteworthy

As the all-too-brief northern summer draws to a close, here are some of the more noteworthy things available in milestone build M2 (September 21, 2007) which is now available for download. See the build notes for details about bugs fixed and other changes.


PDE


Plug-in Spy Ever wondered where the source is for something you're looking at in Eclipse? Well wonder no more. The PDE team brings you Plug-in Spy. Simply select what you're interested in and invoke Plug-in Spy by pressing Alt+Shift+F1. Plug-in Spy currently supports inspection of:
  • Selections
  • Editors
  • Views
  • Dialogs
  • Preference Pages
  • Wizards

Plug-in Spy


PDE Quickfix for Java file issues To assist plug-in developers, extra validation was added to help with access restriction issues that could be solved by exporting a package. For example, say you have two plug-ins: a and b. If a attempts to use a class from b and b doesn't export the package containing the class, you'll receive a warning and applicable quickfix.

PDE Export Quickfix

Quickfixes are now provided to aid users in adding dependencies to their plug-in that will attempt to resolve unresolved classes. If any plug-ins export a package that matches an unresolved class's package, PDE creates Quickfixes to add the package to an Import-Package statement or require the bundle directly through a Require-Bundle entry.

PDE unresolved Quickfix


Drag and drop in plug-in manifest editor Drag and drop support has been implemented in the plug-in manifest editor for the following sections:
  • All Extensions
  • Required Plug-ins
  • Execution Environments
  • Automated Management of Dependencies
  • Classpath

Now objects within these tree or table viewers can be reordered with ease.

Drag and Drop in PDE

Note: The drag and drop support in the All Extensions section is "schema aware".


Highlight externalized strings in XML editors PDE now highlights externalized strings within all XML editor source pages.

Externalized strings found within XML attribute values or XML element text content can be easily identified by the default purple highlight color.

Externalized strings in XML attributes

An Externalized strings preference has been added to customize the highlight color:
Window > Preferences > Plug-in Development > Editors

PDE Externalized preferences


Simple cheat sheet editor 2.0 The simple cheat sheet editor has been revamped to include the following enhancements:
  • Custom XML formatting and XML comments preserved on save
  • New Source page with a dedicated Outline view
  • XML Syntax highlighting
  • Quick outline (Ctrl+O)
  • Drag and drop support
  • Clipboard operation support (cut, copy and paste)
  • Hyperlinking
  • Selection synchronization between Definition and Source pages
  • Browse button for Help section

Simple cheat sheet


Improved management of PDE shortcuts PDE has improved the function and location of its shortcuts. Many editors now have common shortcuts available on their toolbars.

PDE shortcuts

The Run and Debug shortcuts in the plug-in manifest editor have also been improved to automatically include any new dependencies required for launching the plug-in project.

New projects can now be added to working sets The New Plug-in Project wizard now has additional input fields to specify the working sets to which the new project gets added.

PDE working set


JDT


Unused declared thrown exception warning enhancement The Unnecessary declaration of thrown checked exception warning has a new option that helps avoiding false positives. You can give the compiler a hint that a declared thrown exception is not unused by commenting it with the @throws tag.

The option is located on the Java > Compiler > Errors/Warnings preference page:

Screenshot of the Error/Warning preference page

There is also a quick fix that helps you by adding the Javadoc tag.

CLDC 1.1 class file compatibility The Java compiler can now create CLDC 1.1 compatible class files.

You can set this on the Java > Compiler preference page:

Screenshot of the Compiler preference page


Highlighting matches in 'Find Occurrences' 'Find Occurrences' now highlights the matches with different colors for read and write accesses.

Screenshot of the 'Find Occurences' view


More quick assists The following quick assists were added to leverage existing refactorings:
  • Create getter and setters for fields (encapsulate fields):

    Screenshot of the 'create getter and setter' quick assist

  • Extract method on expressions:

    Screenshot of the 'extract method' quick assist


New cleanups Two new cleanups have been added:
  • Correct indentation (also available as save action)
  • Add unimplemented methods

Clean up configuration dialog

Add unimplemented methods is most useful after adding a new method to an interface and you need to update all implementers of this interface.

You can also select a missing method error in the Problems view and select Quick Fix in the context menu.


SWT templates A set of templates have been added to provide code building blocks for SWT widgets. An SWT proposal context can be used to insert an SWT template into a Java editor.

For example: To add an SWT button, type 'B' in a method and press Ctrl+Space three times, then select the 'Button' template and press Enter:

Java editor showing invocation of Button template

SWT proposals are only shown if a project uses SWT. Amongst others, there are templates for:

  • Button
  • Combo
  • Composite with GridLayout
  • Group with GridLayout
  • Label
  • Link
  • List
  • Table
  • Text
  • Tree

You can adjust each template on the Java > Editor > Templates preference page and configure the behavior of the content assistant on the Java > Editor > Content Assist > Advanced preference page.


Extended template variables Templates like the SWT templates can also be added by users. Templates are text snippets with variables that mark input fields or can resolve to values depending on the current context. The following variables have been recently added or extended:
  • ${id:link([proposal[,proposal]*])} - An input field with proposals
  • ${id:var(type[,type]*)} - Resolves to a field, parameter or local variable from the current scope, assignable to given types
  • ${id:newType(fullyQualifiedType)} - Resolves to a type name with import statement if required
  • ${:import([type[,type]*])} - Resolves to an import statement for each type
  • ${:importStatic([qualifiedName[,qualifiedName]*])} - Resolves to a static import statement for each qualified name

As an example, you might want to add a new template that adds a GridLayout to an existing Composite:

  • Create a new template on the Java > Editor > Templates preference page with the name 'GridLayout' and the following content:

    ${composite:var(org.eclipse.swt.widgets.Composite)}.setLayout(new ${layoutType:newType(org.eclipse.swt.layout.GridLayout)}(${numberColumns:link(1, 2, 3, 4, 5)}, ${equalColumns:link(false, true)}));

  • This gives you a new code assist

    Code assist with the user template

    with the following result:

    Applied user template

    The template lets you choose a variable of type 'Composite' visible in the current scope, and quickly pick values for the constructor parameters from canned suggestions.

Consult the template help for more variables and examples.


Add pages to Javadoc export wizard The new org.eclipse.jdt.ui.javadocExportWizardPage extension point allows you to add pages to the Javadoc export wizard. For example, extenders can add support for taglets.

Wait for remote debug connection A socket listening connector has been added to the Remote Java Application launch type. This allows you to start the Java debugger listening for connection on a specific socket. The program being debugged can then be started with command line options to connect back to the debugger. Select "Standard (Socket Listen)" in the connection type drop down.

Connect tab using a socket listening connector.


Platform


SWT right-to-left support for Linux GTK SWT now provides support for mirroring on Linux GTK platforms.

RTL on Linux GTK


SWT inline input method StyledText has added support for inline input method in Win32, GTK, and Carbon. Note that this is an early implementation and that the API is subject to change.

Inline input method


SWT features in TextLayout and StyledText TextLayout and StyledText now allow different strikeout colors, underline colors, and different underline styles.

SWT Underline


SWT full screen state API was added to put a Shell into a full screen state. This is preferable to creating an ON_TOP shell the size of the screen, which may not obscure the task bar or other desktop adornments on certain operating systems.

Full screen shell


New projects can now be added to working set New projects can now be added to working sets during their creation. Currently all major SDK wizards make use of this feature and there is API available for plug-in developers to do so as well.

new project wizard


Remove items from launch history You can now remove items from the launch history menus. Use Control+Shift+Click to remove an item from a launch history (that is, select the menu item while pressing Control+Shift). The launch will be removed from your history but the configuration is not deleted.

Confirmation dialog to remove a launch from the history.


Edit configuration from a launch shortcut You can now open the launch dialog by control clicking a launch shortcut. For example, when you press the Control key while selecting Run As > Java Application from the context menu in a Java editor, the launch dialog will open to the most recently executed launch configuration associated with that file. If no launch configuration exists, the launch dialog will open to the associated type of launch configuration.

Equinox


New provisioning support

The Equinox Incubator Provisioning team has released their second milestone.

  • The agent no longer needs to be installed in c:\.
  • Support has been added for uninstallation, update and rollback.
  • An initial end user UI has been put in place aiming at replacing the current update manager UI.
  • Write support for artifact and metadata repositories.

Though this support is still in incubation, you may want to take a look by checking out the Equinox Provisioning wiki page.


The above features are just the ones that are new since the previous milestone build. Summaries for earlier 3.4 milestone builds:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
中国Eclipse社区,打造中国最专业的Eclipse开发者社区!!

地址:http://www.eclipseworld.org
顶端 时间: 2007年10月08日 22:32 | [楼 主]
ftj

状态: 离线
级别: CEC程序员
精华: 0
发帖: 5
威望: 1 点
财富: 5 元
在线时间:0(小时)
注册时间:2007-10-11
最后登录:2008-01-14

沙发。。。刚注册。。。。算是报到了
顶端 时间: 2007年10月11日 00:47 | 1 楼
loamy

状态: 离线
级别: CEC程序员
精华: 0
发帖: 3
威望: 1 点
财富: 3 元
在线时间:0(小时)
注册时间:2007-10-12
最后登录:2007-10-27

我也去看看有3.4没
顶端 时间: 2007年10月13日 14:08 | 2 楼
laaaa

状态: 离线
级别: CEC程序员
精华: 0
发帖: 2
威望: 1 点
财富: 3 元
在线时间:0(小时)
注册时间:2007-10-18
最后登录:2008-09-27

 
顶端 时间: 2007年10月18日 21:53 | 3 楼
free_zk

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 11
威望: 11 点
财富: 211 元
在线时间:0(小时)
注册时间:2006-01-09
最后登录:2008-06-16

关注
顶端 时间: 2007年10月25日 20:26 | 4 楼
fifa110

状态: 离线
级别: CEC程序员
精华: 0
发帖: 16
威望: 1 点
财富: 17 元
在线时间:0(小时)
注册时间:2007-10-25
最后登录:2008-11-13

关注中。。。。
顶端 时间: 2007年10月25日 20:52 | 5 楼
随风飘

状态: 离线
级别: CEC程序员
精华: 0
发帖: 4
威望: 1 点
财富: 4 元
在线时间:0(小时)
注册时间:2007-10-27
最后登录:2008-01-13

我在用3.3...............        版本太高...不是很好.... 和别的软件兼容性不好...
顶端 时间: 2007年10月27日 11:27 | 6 楼
lemuel

状态: 离线
级别: CEC程序员
精华: 0
发帖: 14
威望: 1 点
财富: 3 元
在线时间:0(小时)
注册时间:2007-07-20
最后登录:2007-11-23

又是e文的
还是能看个大概
和3.3没多大区别嘛
顶端 时间: 2007年10月30日 10:45 | 7 楼
hotelcn2007

状态: 离线
级别: CEC程序员
精华: 0
发帖: 16
威望: 1 点
财富: 16 元
在线时间:0(小时)
注册时间:2007-11-26
最后登录:2007-11-27

我也去看看有3.4没
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
顶端 时间: 2007年11月27日 14:27 | 8 楼
cien145

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 4
威望: 1 点
财富: 104 元
在线时间:0(小时)
注册时间:2006-12-05
最后登录:2007-11-28

下了也没插件可用!
顶端 时间: 2007年11月28日 22:22 | 9 楼
jingfeng830

状态: 离线
级别: CEC程序员
精华: 0
发帖: 5
威望: 1 点
财富: 5 元
在线时间:0(小时)
注册时间:2007-11-29
最后登录:2007-11-29

JDK需要什么样的配置呢?
顶端 时间: 2007年11月29日 01:55 | 10 楼
bashenyxy

状态: 离线
级别: CEC程序员
精华: 0
发帖: 1
威望: 1 点
财富: 1 元
在线时间:0(小时)
注册时间:2007-12-01
最后登录:2007-12-01

给个下载地址啊!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
one way love of my life
顶端 时间: 2007年12月01日 22:47 | 11 楼
中国Eclipse社区 » 新闻焦点


辽ICP备05021625号