I'm moving my API documentation from a flat text file in Github to Javadoc comments using apidoc.
So, I already have API output examples that I'd like to write in the javadoc syntax. I need to add the little *
at the beginning of each line without typing them manually because there are a lot of them. Is it possible to do that in Eclipse ? I can't find it anywhere.
Example :
I want to turn
{
"firstResult" : 1,
"limit" : 30,
"totalCount" : 2,
"value" : [
{
"firstname" : "John",
"name" : "Doe",
},
{
"firstname" : "Johnny",
"name" : "Doe"
}
]
}
into
/**
* {
* "firstResult" : 1,
* "limit" : 30,
* "totalCount" : 2,
* "value" : [
* {
* "firstname" : "John",
* "name" : "Doe",
* },
* {
* "firstname" : "Johnny",
* "name" : "Doe"
* }
* ]
* }
*/