dimanche 10 mai 2015

Eclipse template for comment not working (cursor positioning)

I have set the template for "Types" to be:

/** $$Id$$
 * $$Author$$
 * $$Revision$$
 *
 * ${cursor}
 */

However the ${cursor} isn't working as it ought to, you can see here ( http://ift.tt/1uAxLFZ - top of the first table) how ${cursor} should work.

When I use this template (by typing /** and then pressing enter) I get the following (where | denotes the cursor position)

/**
 * |$Id$
 * $Author$
 * $Revision$
 *
 *
 */

How can I fix this, or if I am at fault, how can I get the desired behaviour?

Aucun commentaire:

Enregistrer un commentaire