JSEclipse 1.5 :: Hidden Treasures :: code completion and comments
In all programming languages writing comments is a good practice. In JSEclipse, writing comments is not just a good practice is a best practice.
JSEclipse takes into account code comments in many ways. First let’s take a look at a situation:

If we add now a comment to the initialize method, that comment will be displayed along with the proposed completions.

We can go further in specifying our comments, we can use JSDoc comments. Let’s specify a type for our parameters and try code completion on them inside the method:

Another method to specify parameter types is the following:

