Eclipse JDT and Java 7
Will Eclipse 3.7 include support for Java 7? Short answer: No Slightly longer answer: "Due to late availability of JSR-292 (Invoke Dynamic) and JSR-334 (Project Coin) and due to the official release...
View ArticleEclipse Day India 2011
Anshu Jain started of the day with an excellent talk Eclipse - A Framework of Frameworks. In his talk he went through the design of a very simple calculator framework to explain all the things that...
View ArticleJDT 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 highlightsMethod exit points - select (or place caret in) the method...
View ArticleJDT 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...
View ArticleJava 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...
View ArticleJava 7 Support in Eclipse JDT (BETA) - Part I
JDT team has been working overtime over the last few months on the Java 7 support. The compiler is rock solid now and the UI is looking good with a number of new features. You can add the Java 7...
View ArticleJava 7 Support in Eclipse JDT (BETA) - Part II
I have already talked about the new features to support multi-catch in an earlier post. Now I will talk about Try-with-resources statement and Simplified Varargs Method Invocation. The compiler detects...
View ArticleJava 7 Support in Eclipse JDT (BETA) - Part III
I have already talked about adding Java 7 support to your Eclipse 3.7 or 4.1 install. Last week I also talked about the new features in JDT for Multi-catch, try-with-resources and Simplified Varargs...
View ArticleJava 7 Support in Eclipse 3.7.1, 3.8, 4.2 builds
So far the Java 7 support work was done in the BETA_JAVA7 branch. This branch has now been merged to HEAD and R3_7_maintenance. As a result all upcoming 3.7.1, 3.8 and 4.2 builds will fully support...
View ArticleCodingSpectator: Research study on Eclipse
These guys have been contributing to JDT by reporting a bunch of bugs based on their findings, so I thought I should talk about them :) The aim of CodingSpectator project is to study how developers...
View ArticleAnnotation based null analysis with JDT
Eclipse Juno M4 includes support for annotation based null analysis. To take advantage of the feature enable the preference shown below and start using the default annotations mentioned in the text...
View ArticleActive JDT Committers
In my talks on JDT I generally include a slide with the above image. I thought I should also write a post and include the following bits of (interesting) information about the committers.JDT...
View ArticleWeird code pattern in Eclipse SDK
In recent Juno milestones JDT has added several new static analysis capabilities - resource leak detection (Juno M3), annotation based null analysis (Juno M4), null analysis for fields (Juno M5). This...
View ArticleJDT 3.8/4.2 M6 - New and Noteworthy
M6 was a long milestone - there was one extra week of development - and hence we could do a little bit more. There are quite a few new features and a few API additions as well. JDT always provided...
View ArticleContributing a quick fix and a quick assist for Java code
JDT offers a large number of quick fixes and quick assists for Java code. However, you may want to implement your own as well, and it is actually quite easy to do so with the help of...
View ArticleJDT 3.8/4.2 M7 - New and Noteworthy
As usual we devoted most of our time in M7 towards polish and performance, nevertheless we managed a few new and noteworthy items. Firstly a word about bracket matching. So far, a matching bracket was...
View ArticleSubwords completion
Not so long ago I was fairly happy with JDT's content assist, and then I started using Subwords completion from Code Recommenders project and now it is fair to say that I cannot write code without it!...
View ArticleJDT Tip: Toggle between inserting and replacing content assist
When content assist is invoked on an existing identifier, it can either replace the identifier with the chosen completion or do an insert. The default behavior is to insert. You can toggle this...
View ArticleEclipse Demo Camp 2012 - Bangalore
It's demo camp time again! I will be speaking this Friday at the Eclipse Demo Camp Bangalore where I will demo some of the interesting new features in JDT for Juno and also show off a few tips and...
View ArticleEclipse Demo Camp 2012 - Bangalore
The Demo Camp happened last Friday, and was great fun! A couple of things stood out for me. First, I was pleasantly surprised to see people from Bosch already exploring Orion and evaluating how they...
View ArticleImproving Java code quality with Eclipse Juno
The Eclipse Java compiler performs more checks and analyses than are mandated by the Java Language Specification. See Java > Compiler > Errors/Warnings preference page for available options. Now...
View ArticleEclipse Tip: Stepping into selection and hyperlink debugging
The Java debugger allows you to step into a single method within a series of chained or nested method calls. Simply select the method you wish to step into and select Step into Selection from the Java...
View ArticleGoing back to school
After working at IBM for 5 years, I am going back to school. August 10th is my last day as a 'full-time' JDT committer, after which I head to University of British Columbia for Masters in Computer...
View ArticleDebugging with sysouts made awesome
At times I like to debug by writing to console. However, in a long debugging session I often end up with several sysout statements in several files/methods, which makes it hard to track where a...
View ArticleContributing Java Editor templates via a plugin
JDT provides several editor templates. You can also add your own via the Templates View. However, if you want to share the templates between your several workspaces or with others you can also create...
View Article
More Pages to Explore .....