Adding comment causes comment to be inserted at carat and not before classname
Clicking after the class name and then using the keyboard shortcut for adding a comment causes the comment to be inserted inside the parameters.
Before:
class WarehouseStock<put carat here> {
@JsonProperty var barcode : String = _
@JsonProperty var season : String = _
}
After:
class WarehouseStoc/**
*
*/
k {
@JsonProperty var barcode : String = _
@JsonProperty var season : String = _
}
Before:
class WarehouseStock<put carat here> {
@JsonProperty var barcode : String = _
@JsonProperty var season : String = _
}
After:
class WarehouseStoc/**
*
*/
k {
@JsonProperty var barcode : String = _
@JsonProperty var season : String = _
}
Leave a comment
This looks like an enhancement proposal. Would you like to give it a go? It would make for a valuable addition, and an ideal first contribution to the project! :-)
on 2012-07-13 22:28 *
By samspade79
I'd love to give it a go, but I cannot even get the IDE to compile. I guess the build is not geared up towards windows users.
on 2012-07-14 05:47 *
By Mirco Dotta
Yeah, tests do not pass on Windows, it's a known issue. But you can skip tests! :) You can do so with the following command: mvn -Dmaven.test.skip=true clean install
on 2015-03-13 22:15 *
By Simon Schäfer
Eclipse version changed from All to Luna - Eclipse 4.4
Type changed from Defect to Enhancement
Version changed from 2.1.0-nightly-29 to 4.0.0
Milestone changed from Enhancements to -none-