Eclipse 3.4提供了一个新功能:在任何界面下按Alt+Shift+F1 (Windows, Mac OS里用Shift+Option+F1),就可以看到Eclipse用来实现当前选中界面元素的类。
这个功能至少我看起来对插件开发人员很有用,因为当你想要模仿实现(或利用)Eclipse里的某个界面时,不用再像以前那样猜这个界面的实现类的名字了。比如最开始我就用了很久才找到属性视图的实现类是PropertySheet,而我总是朝着PropertyView的方向找,当然很难找到。
Plug-in Spy本是一个单独的小项目,在3.4里直接集成到workbench里了。
来源:Eclipse 3.4 Hidden Treasures
Eclipse 3.4 Hidden Treasures
Eclipse 3.4 "Ganymede" will be released in the upcoming days. I've been working with the RC builds for some time now and I like it. Eclipse 3.4 is a better IDE and a more robust platform than its' predecessor. In this post, I've gathered some new features which I like and may be "off the beaten path".
Rich Hovers
This is not a hidden feature, but I had to mention it. The Java Development Tools include some interesting enhancements in this release. The greatest innovation is the Java Editor Breadcrumbs. It looks cool, but, after using it for some time, I didn't find it very useful. The Rich Hovers, on the other hand, are very useful. I especially like the Javadoc hovers. There's an emphasis in making the documentation accessible and that's a very positive improvement.
Another useful rich hover is the Java debug hover which makes it easier to view the contents of compound objects without having to copy them to the expressions view. You can use the preferences to determine whether the behavior of the "enriched hovers".
The Dropins Folder
If you paid attention to the hype around Eclipse 3.4, you've heard the term P2. In simple terms, it's a new way of deploying Eclipse applications and plug-ins. For the average Eclipse user, the most noticeable change will be a new "Software Update" dialog which replaces the previous "Find & Install..." and "Manage Configuration" duo. It's a much better UI and it's a promising future to Eclipse updates.
Part of this change is "the dropins folder". This folder is located in your Eclipse distribution folder and it is initially empty. In this folder you can manually drop features and plugins which will be installed once you restart Eclipse. No more restarting with "-clean" option. There's also an option of using this folder to link to a central location of plugins, which can be shared among several Eclipse installations. I'll write a dedicated post about it in the future.
Templates View
One of the late features to make it into the Eclipse 3.4. Templates can be inserted while coding, usually using the content assistant. Adding and editing templates was possible before. In Eclipse 3.4 there's a new view which shows all possible templates and makes it easier to add new templates. There are also some new parameters which can be used when composing template. Templates are already an important feature. The templates view makes this feature even more user friendly, especially for customizations.
The view is found in the views under "General" - "Templates". Look in the Eclipse help for more details on the template variables.
Format Only Edited Lines
The "Save Actions" is one of my favorite features in Eclipse 3.3 (read my original post about it). In Eclipse 3.4 there are several improvements including some new formatting features. One of the complaints against the Save Actions feature was that it will change the entire file, thus, making it very hard to compare to previous revisions when using a source control. It can become very annoying if some team members use it and some don't.
For that purpose there's a new feature which allows changing just the edited lines, keeping the rest of the file intact. I highly recommend using the Save Actions feature. It is inactive by default, so go ahead and activate it.
Outline View Drag & Drop
This is a true hidden treasure. You can now easily rearrange your source code by dragging and dropping elements in the outline view. AFAIK, this currently works for Java and for XMLs. To use it, make sure the "sort" option is not selected and just drag & drop.
Plug-in Spy
There are many new features in the Plug-in Development Environment (PDE) project which makes writing and deploying Eclipse plugins much easier. The Plug-in spy is a true hidden gem in this stack. One of the best ways to learn how to write plug-ins is to read the code of existing plug-ins. Naturally, the organic Eclipse plug-ins make great candidates. You see a view and you want to create something similar. The question is: how do you find the code behind that view?
This is where the plug-in spy comes into play. Invoke the plug-in spy and you'll get all the information that you need to start exploring the existing code. The plug-in spy can be invoked using the keyboard shortcut Shit+Option+F1 (Alt+Shift+F1 on Windows). It works on views and in dialogs as well, including the wizard and preferences dialog.
Error Log View
The error log view is not new. It shows platform errors and informational messages. It was greatly improved in Eclipse 3.4, with a search box and a grouping feature. It's all good, but, there's one cool feature tucked away in the toolbar. You can quickly use the log view to view the logs of workspaces you launched when running or debugging plug-ins. It shows all the defined launch configuration. Each launch configuration is associated with a runtime workspace. The log of this workspace will be shown when that configuration is selected.
Export/Import Launch Configurations
Launch configurations are an important part of the workspace. Every once in a while I start over and create a new workspace after having too much garbage in the old one. Importing the projects is a breeze. It's the configuration that takes time. Most of the configuration can be exported and imported and now the launch configuration are included. Since creating launch configurations can be time consuming, this is a much needed feature.
Start from the "File" menu and select the "Export" feature. Select the "Launch Configurations" and in the next dialog box select the configurations to export. The result is a folder of XMLs which can be later imported to any workspace
God is in the Details
The features I mentioned above are mostly major features. Eclipse 3.4 also includes an assortment of small improvements for making your life easier. The content assistant, for example, is improved, and it works in cases where it didn't before. Argument name guessing is much improved and can now also guess methods which may be called to produce the arguments (e.g. getters). There are many new feature you'll discover once you start using the new version. "Ganymede" is a great release for the Eclipse platform.
相关推荐
mqtt-spy 是一个开源的 MQTT(Message Queuing Telemetry Transport)客户端工具,用于监控和测试 MQTT 代理服务器。它是基于 Java 开发的,可以在多个操作系统上运行,包括 Windows、Linux 和 macOS。mqtt-spy 提供...
关于spy-debugger 1、一站式页面调试工具,远程调试任何手机浏览器页面,任何手机移动端webview(如:微信,HybirdApp等)HTTP/HTTPS。 2、spy-debugger内部集成了weinre。 3、支持HTTPS页面的...
【调试工具|mqtt-spy】mqtt客户端调试工具 mqtt-spy 详细使用教程
三种有源相控阵雷达SPY-6 AMDR、EASR、and SPY-3 DBR的技术分析
《Vehicle-Spy-3-Quick-Start-Guide-v-1.0.1.pdf》是一份针对Vehicle-Spy软件的快速入门指南,该软件由Intrepid Control Systems公司开发。Vehicle-Spy是一款功能强大的车辆数据监控和分析工具,适用于调试汽车电子...
欧姆龙传感器EE-SPX301/401和EE-SPY30/40的技术规格和应用 欧姆龙传感器EE-SPX301/401和EE-SPY30/40是一种高性能的光电传感器,具有抗环境干扰、光轴标识和入光指示灯等特点。这些传感器适用于检测物体的存在和形状...
LF-Spy是一个基于单独jsp页面的Java服务器探针,使用它您可以方便的获得您所处Java服务器的系统信息,是您了解您所在空间真实情况的重要工具。 LF-Spy能够自动测试目标Java服务器的网络连接速度、MAC地址、服务器...
** MQTT-Spy:ActiveMQ MQTT 测试客户端详解 ** MQTT-Spy 是一个强大的工具,专为测试 MQTT(Message Queuing Telemetry Transport)协议而设计,尤其针对ActiveMQ这一流行的开源消息中间件。在理解MQTT-Spy之前,...
AS-23-Chen-Operation-Clairvoyance-How-APT-Groups-Spy-on-the-Media-Industry
MQTT-SPY测试软件。免费下载。
p6spy-spring-boot-starter p6spy弹簧启动器说明基于p6spy的Spring Boot Starter实现玛文< dependency>< groupId>com.github.hiwepy</ groupId>< artifactId>p6spy-spring-boot-starter</ artifactId>< version>${...
在深入探讨 Spy-Net 2.7 的特性之前,我们先来了解一下网络安全监控的重要性。 网络安全是当今信息化社会的关键问题,因为网络攻击和数据泄露事件日益频繁。一款像 Spy-Net 2.7 这样的工具可以帮助企业或个人保护其...
欧姆龙微型光电传感器限定反射型接插件型 EE-SPY31pdf,欧姆龙微型光电传感器限定反射型接插件型EE-SPY31/41:即使检测物体的背景是不锈钢镜面体,也能稳定检测工件。即使背景物体是镜面体,只要离开20mm,即可稳定地...
标题中的"Card.Spy-darwin-x64_zip_"表明这是一个与操作系统安全和恶意软件相关的主题,特别是针对苹果的Darwin/x64平台。Darwin是Apple macOS的基础,基于UNIX,而x64指的是64位处理器架构。"zip"标签则提示我们这...
spy-js.jar spy-js.jar
为了帮助新用户更好地理解和使用NetSpy,压缩包中的"说明_Readme.html"文件提供了详细的安装指南和操作手册。这份文档通常会涵盖软件的系统需求、安装步骤、配置建议以及常见问题解答,对于初次接触NetSpy的用户来说...
mqtt-spy 开源的实用工具,用来帮助你监控 MQTT 主题活动,处理大量的信息。 mqtt-spy 是一个 JavaFX 应用,所以在理论上...mqtt-spy 还属于正在开发的阶段,接下来会继续添加更多的特性和函数,更多内容请看 wiki。
角滚动间谍从头开始构建的简单,轻量级的scroll-spy伪指令。 它在元素滚动到视图或视图之外时广播事件。用法在要为其接收滚动事件的元素上添加scroll-spy属性和id 。 当元素首次滚动到视图中时,会触发一次'...
**PyPI 官网下载 | py_spy-0.1.5-cp35-cp35m-win_amd64.whl** PyPI(Python Package Index)是Python社区广泛使用的软件包仓库,它提供了大量的Python库供开发者下载和使用。`py_spy`是一个在标题中提及的Python库...
6. **安全风险**:尽管免杀特性使Spy-Net v2.1在某些场景下显得方便,但这种工具的滥用也可能带来严重后果,包括个人信息泄露、企业数据被盗和非法入侵等网络安全问题。 7. **反监控措施**:为了保护自己的设备不被...