Eclipse 3.3M7 发布!

欢迎访问:http://www.zhuanqiane.cn


Eclipse 3.3 M7 - New and Noteworthy
The emphasis in this final milestone in the 3.3 release cycle has been on performance and polish. Here are some of the more noteworthy things you'll find in milestone build M7 (May 4, 2007) which is now available for download. See the build notes for details about bugs fixed and other changes.

PDE

State of the plug-ins The Plug-in Dependencies view, available under Window > Show View > Other > PDE > Plug-in Dependencies, has been enhanced to show you the state of every plug-in you have in your development environment.
For each plug-in, you get to see all its dependencies and the plug-ins supplying each of its imported packages.
The view now also serves as a valuable diagnostic tool that shows you the unsatisfied constraints that may prevent your plug-in from running and which may cause a chain reaction affecting other plug-ins.
New filtering capabilities include:
  • focusing on unresolved plug-ins only
  • showing leaf plug-ins only therefore helping you prune unnecessary plug-ins when assembling a product


Hello, World - 3.3 edition In Eclipse 3.3, the Platform introduced a new way to contribute menu and toolbar items to the workbench. See this new support in action by selecting the Hello, World Command template in the New Plug-in Project wizard, available under File > New > Project > Plug-in Project.


platform.xml handlingIn order to handle linked directories and extension locations while building, PDE Build now constructs its state by consulting the platform.xml file contained in the base location, if available.

JNLP file filteringThe content of the JNLP files generated by PDE when building an application can now be filtered by the configurations being built. This filtering can be enabled by setting the property jnlp.configs in the main build.properties file of your build.

Performance improvementIn the presence of large products made up of many plug-ins and features, the generation time of the PDE build scripts has been significantly improved.

Platform

Drag & drop, clipboard on Vista (WPF)Drag & drop and clipboard operations now work on Vista WPF. The snapshot below shows a file being dragged from Eclipse onto the Vista Desktop.

Improved detection of Mozilla plug-insUsers of Mozilla-based browsers can now augment the default set of Mozilla plug-in paths that are searched by defining environment variable MOZ_PLUGIN_PATH. For example: export MOZ_PLUGIN_PATH=/usr/lib/browser-plugins

Keys preference page improvementsThe Keys preference page displays your key bindings and can optionally display all available commands that can be bound to keys. User changes to the key bindings are marked by the "delta" icon in the User column, and action sets and internal contexts are filtered from the When field by default. You can now:
  • update a selected binding immediately by modifying the Binding or When fields
  • create a binding from a command by modifying the Binding field
  • create a command from a binding using the Copy Command button
  • remove all user changes from the system with Restore Defaults (immediate action)


New default tab colorsEditor and view tabs have a new color scheme based on a blend of the system title background color and white. The amount of white added is dependent on the particular RGB values of the title background color.

Quick accessTo quickly access UI elements such as views, commands, preference pages, and others, use the new Quick Access dialog, available under Window > Navigation and bound to Ctrl+3 by default. Start typing in the filter field to see matches. For example, to open the console view, type Ctrl+3 followed by "con". One of the first matches will be to open the console view. You can use the arrow keys to select a different match for a given filter string. Press Enter to select the highlighted entry. This will execute the command, or open the view, perspective, or wizard etc.
Your previous choices will be remembered and shown the next time the dialog opens. If you enter the same filter string again, the entry you picked last time will be selected automatically.

Using the initials of the words you are trying to find, you can narrow down your choices using very few letters. Here are two examples of this:



Editor area drag and drop Dragging external files (i.e., from the Windows file explorer) on to the editor area of a workbench window has the same effect as Open File. Also, you can now drag an editor between workbench windows associated with the same workspace.

Properties view faceliftThe Properties view has adapted to the new look and feel of UI forms. Visual enhancements include new title bar layout, colors and gradient, and new tab design and colors.


Welcome reopens after new intro content is installedThe first time Eclipse is restarted after installing plug-ins containing new Universal Intro content, the Welcome screen will open on a page which prominently shows the new content. In the example below a plug-in (created using the PDE Universal Intro template) was installed before Eclipse was restarted. More details can be found here.

Double-click + mouse move to select words in editors Words can now be selected using double-click + mouse move.

Reduced palette support in text editorsEditors now support the Reduced Palette theme. This gives better results when working in High Contrast mode.

English spelling dictionaries An American and a British English dictionary are now part of the SDK:
Spell checking is now enabled per default. The feature can be disabled with the new Disable Spell Checking quick assist.
Tip: It's recommended that you set a user dictionary to collect custom words that are not part of the lexicon. This can be configured on the General > Editors > Text Editors > Spelling preference page.

Better support for linked mode boundaries Home/End inside a linked area now jumps to the beginning or end of the linked area and word navigation stops at the boundaries. Note: This only works if smart caret positioning is enabled (default).

Compare Structure in Outline viewIt's now possible to show the structure pane of a Compare editor in the Outline view. To enable this, go to the General > Compare/Patch preference page and check Show structure compare in Outline view when possible. Selecting structure elements in the Outline view will scroll the content pane in the Compare editor to reveal the change in the selected element.

Additional actions and key bindings available in text/Java compareNew actions have been added to the Text and Java compare content viewer:
  • Find/Replace
  • Show Whitespace Characters
  • Show Line Numbers
  • Show In navigation submenu
All Text/Java compare actions now have key bindings in both windows and dialogs. To get the key bindings to appear in dialogs, make sure you set the scope of the commands to In Dialogs and Windows on the Keys preference page.

Console launcher for Windows
There is now a second launcher "eclipsec.exe" on Windows that behaves as expected for a console application. This allows piping the output from Eclipse, as well as better behavior in general for the standard -console, -consoleLog and -debug options.

Ant 1.7.0The org.apache.ant plug-in provided by Eclipse has been upgraded to Ant 1.7.0, the latest release from Apache.

Launch selection vs. launch lastSelection based launching introduced in milestone 6 is now the default setting. Use the Run/Debug > Launching > Launch the selected resource or active editor preference to enable or disabled this feature.
Running and debugging applications has been simplified to run or debug the selected file or active editor. When the selected resource (or active editor) is not executable, you can opt to launch the associated project by selecting Always launch project if selected resource cannot be launched.

Pressing the Run or Debug toolbar button will launch the selected resource (as will the Run or Debug action in the top level Run menu). When no launch configuration exists for a file and there is only one way to launch it, the file will simply be launched in the mode you selected. When there is more than one way to launch a file, you will be prompted to select how to run or debug the application. For example, when running a JUnit test you can run as a Java application or JUnit test. A launch configuration will be created and an entry will be added to the launch history for the application.

When the same resource is launched again, it will use the most recent configuration in the launch history associated with that resource.

JDT

Introduce Parameter Object refactoring Introduce Parameter Object is a new refactoring that replaces a set of parameters with a new container object. All calls to the method are updated to pass the new parameter object class.
Use cases:
  • group parameters which logically belong together; e.g., Date start, Date end, String newValue, String oldValue
  • reduce number of parameters
  • provide useful defaults in the parameter object
  • pass the parameter down the call chain
To execute the Introduce Parameter Object refactoring, select a method, invoke Refactor > Introduce Parameter Object, select parameters that should be used as fields and give meaningful names.

The following code snippet

will be modified to


Quick Fix to create and use getter and setterA new quick fix is available for a field not accessible due to visibility restrictions. In the following scenario, use Ctrl+1 to invoke quick fix:
If a getter exists for this field, you can choose to use it.

And if there is no getter for this field, you can choose to create one.


Colored labels in Java views To enable colors in Java views, select the Java > Appearance > Use colors in labels preference.

Add new Java project to a working set The new Java project wizard got additional input fields to specify the working sets to which the new project gets added. The fields are initialized from the current selection or the active working set filter in the Package Explorer.

Assign working setsIt's now easier to reorganize Java elements or resources in working sets. To assign an element to a different working set, select the element in the Package Explorer and invoke Assign Working Sets from the context menu.

In-place rename refactoring overhauled The in-place rename refactoring in the Java editor has been polished: When using Refactor > Rename in the Java editor, the editor enters linked mode rather than open a modal dialog. Changes stay local until Enter is pressed, which will perform the change in the whole workspace.

If you prefer the old modal dialog, you can configure that on the Java preference page.

New code formatter options New options have been added to the Java code formatter page:
  • Binary expressions can now be wrapped before or after the operator
  • Block and line comments on first column can be excluded from indentation

Unused parameter warning enhancement The Unused Parameter warning was improved with a new option that helps avoiding false positives. You can give the compiler a hint that a parameter is not really unused by commenting it with a @param tag. The option is located on the Java > Compiler > Errors/Warnings preference page:


Sort Members on multiple elementsThe Sort Members action can now sort multiple elements at once. Select a package, a project, or a set of Java elements in the Package Explorer and invoke Source > Sort Members.

Runtime type generationJava 5 annotation processing (APT) was introduced in Eclipse 3.2, but until now, new types could only be generated by doing a build. Annotation processors can now generate new types on the fly, as you edit the annotations. This feature is disabled by default, for performance reasons; to enable it, a processor should include "enableTypeGenerationInEditor" in the set of strings returned from AnnotationProcessorFactory.supportedOptions().

Java 6 annotation processingEclipse 3.3 fully supports Java 6 annotation processing in the Eclipse Java batch compiler. Java 6 annotation processing is also minimally supported in the IDE, with more support to come in the future.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
提供的源码资源涵盖了Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 适合毕业设计、课程设计作业。这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。 所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值