中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档 | 网通镜像
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 程序开发 > 编程语言 > Java > Java与XML
Eclipse 3.1 M4 - "Cool New Stuff," Says JDJ's Eclipse Editor Bill Dudney @ JDJ
作者:未知 时间:2005-08-10 18:18 出处:Java频道 责编:chinaitpower
              摘要:Eclipse 3.1 M4 - "Cool New Stuff," Says JDJ's Eclipse Editor Bill Dudney @ JDJ

The Eclipse team is well on the way to the 3.1 release. The current release is M4 with M5 to follow in less than two weeks (M5 is due Feb 18th). Given all the cool stuff that is planned for the 3.1 release I've been itching to make the move, but alas my day job was getting in the way of using a beta. Well my day job is still crazy but we had about a week of non-crazyness so I made the plunge to 3.1M4. I've been using it for about 4 weeks now and here are my notes on the 'new and noteworthy' stuff in the M4 release.

There are tons of cool things in the M1 to M3 releases too. I'll try to do a 'retro' commentary on them before the release of M5.

Ant

Ant debugger
- yes you read that correctly. You can now debug your ant files. All the typical stuff is there, breakpoints, stepping etc. To invoke the debugger you have to launch from the Ant View. Select 'Debug As -> Ant Build'. The next thing to do here would be to make it possible to run an Ant build script in debug mode and be able to step into the implementation of the tasks.

JDT

J2SE 5.0 Features
- tons of cool stuff going on here but I've not had a chance to really use any of it yet because of earlier mentioned day job getting in the way. I hope to be on 5.0 by mid to late March so I'll have lots more to say then. However just a few quick highlights of what's new. Searching is able to understand most of the 5.0 syntax (generic types etc), code assist is working with annotation types, navigation with the F3 key is working, autoboxing is now in the compiler, quick fixes for generics. There is too much to give property treatment here and since I've not had a chance to dig in my self I'll leave it at that. If you are playing around with 5.0 though you should definitely take a look at the M4 release.

Multi-Working Set Support - Its now possible to specify multiple working sets at the same time. This is a big win for code organization on big projects. Essentially it turns the Package Explorer into a working set explorer. In other words your working sets become top level elements.

Spell checking properties files - Key for me since I rarely spell my own name right. Not as helpful as it could be because meat passes where meet should be, ah if only we could have the computer read my mind instead of me typing out my thoughts.

Navigate from a property to usages - this is a really cool feature. From the properties editor you can click through to where the property is referenced in your java code. Java Editor preferences rearranged - still hard to find what I'm looking for but better. One of the coolest things added in M4 around the preferences is a navigation history. We now have a 'back button' so that Eclipse remembers where we have been and can take us back there. The back button and history work for all preferences, not just the JDT set.

JUnit Tests - The JUnit view now has a really cool button to rerun the failing tests first. So for example if you have 20 tests for a particular class and the final 2 tests were failing. Instead of having to wait for the other 18 to pass you can run the 2 failing tests first. Cool!

Variables View - you can specify a logical way for a variable to be rendered in the variable view. So instead of seeing all the gory detail for your class in the variables view you can specify that you only see what you want. You access this very cool feature in the preferences Java -> Debug -> Logical Structures.

MultiProject Import - you can now import more than one project at a time. I rarely use this feature except when upgrading so its not that important for me but cool anyway. It will be a big time saver for the folks with lots of projects that upgrade only on the official release cycles.

Team and CVS

CVS Commit Review - when you commit the dialog now contains the files being committed, so we can be more accurate in commit messages (I'm sure this will change my really bad habit of putting 'changed some stuff' into my commit messages).

CVS file type support improved - When you add a bunch of files Eclipse no longer assumes unknown files are binary. Instead it pops up a dialog with the list of file extensions and gives you a chance to specify. It defaults them all to binary so you can just click the finish button if you don't care. This is a great feature but was very slow for me when adding a bunch of files to a repository.

Platform Core

Eclipse Startup - you can now start eclipse from the command line as a jar file. java -jar ?eclipse/startup.jar'

Platform Text

Shared editor preferences - finally! Now all the text editors in Eclipse will share a common set of settings. Of course that will make me irritated when I want my XML indented 4 and my Java indented 2. But I won't complain because I complained that they did not share a common set of preferences.

Hyper link support - now in all editors. The Java editor support was generalized and put into the core text editor.


There is tons more to write about that was new and noteworthy in M1 to M3. I'll try to get that put together RSN.

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有