eclipse3.4 部分新特性(1)

Eclipse IDE搜索与编辑改进
本文介绍Eclipse IDE在搜索功能方面的多项增强,包括快速菜单优化、Java搜索选项增加及文件成员拖放重排等功能。同时,还介绍了针对插件开发者的PDE快速修复功能。
 1. Several improvements have been added to Search > Occurrences in File:
  • The quick menu (Ctrl+Shift+U) now only shows the searches applicable for the current selection. If only one search kind is possible, the shortcut will directly invoke the search.

      • The menu now offers all searches available by Mark Occurrences.
      • Matches are now highlighted with different colors for read and write accesses in the search view.
      • The search view offers a Link with Editor mode where the view input is connected to the current editor selection.



2. More Java search options

   Type reference search can now be limited to specific match locations in the code. For example, you can find references in cast expressions, or in field and local variable types.

   The following example shows how to search for all catch clauses in your code (search for references to '*' and limit to catch clauses):



3.Rearrange content of files per drag and drop 
    Unsorted views like the Outline view and the Members view in the Java browsing perspective can now be used to rearrange members by drag and drop.

4. 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.

   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.






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值