Thursday, June 23, 2011

Java 7 Support in Eclipse JDT (BETA)

Java 7 is not publicly released yet and hence the Eclipse Java 7 support could not be shipped with 3.7 or 4.1. However those who want to use it in 3.7 or 4.1 can do it using the install instructions mentioned on http://wiki.eclipse.org/JDT/Eclipse_Java_7_Support_(BETA).

If you find a bug or have ideas on new quick fixes / refactorings / templates / ... , please file a bug with the [1.7] tag !

I should add that this is a work in progress, and more details are available on the following two wiki pages

Note: This is an implementation of an early-draft specification developed under the Java Community Process (JCP) and is made available for testing and evaluation purposes only. The code is not compatible with any specification of the JCP.

Sunday, June 5, 2011

JDT Tip: See different hovers in Java editor by using modifier keys

  •  When you move the mouse over an identifier that has no error or warning, by default a hover with the Javadoc is shown. 


  • However if there is an error or a warning on the identifier then the corresponding message is shown.

  
  • To see the Javadoc even in this case, you can enable the Javadoc hover on this preference page and define a key modifier e.g. Ctrl+Shift. 
  
  • Now press Ctrl+Shift while hovering to see the javadoc.

Thursday, June 2, 2011

JDT Tip: Mark Occurrences in Java editor

I think everyone knows that the Java editor highlights occurrences of variables and method calls.

But did you know that it also highlights
  • Method exit points - select (or place caret in) the method return type

  • Method calls or statements throwing an exception - select (or place caret in) an exception in a catch block

  • Break/Continue targets - select (or place caret in) break or continue keywords

    Mobile sessions at IBM Innovate

    Attending Innovate 2011 ? Interested in mobile development ? If yes, then the following sessions might be of interest to you.

    Mon, Jun 6, 2011
    4:15 PM : ALM-1602A Bringing Collaborative Lifecycle Development to Mobile Software
    8:00 PM : BOF-2303A How is the Need for Developing Mobile Applications Changing Development Efforts

    Tue, Jun 7, 2011
    1:45 PM : CS-1359B Agile Adoption for Android Mobile Project using IBM Rational Team Concert - Samsung SDS Agile Transition

    Wed, Jun 8, 2011
    11:15 AM : SE-2206A Mobile Application Development: Strategies for Accelerated Delivery and Deployment
    1:45 PM : MAC-1756A Web 2.0 and Mobile Development Fast and Easy with IBM Rational Application Developer 8.0
    3:00 PM : PPM-1300A Importance of Understanding User Needs in Mobile Development
    3:00 PM : SIS-1609A Model-Driven Development for Mobile Applications

    In addition there are also some demo pedestals in the Solution Center.