0
Когда я набираю «/ ** + Enter» над методом в Android Studio, он автоматически генерирует этот Javadoc для меня.Настроить шаблон Javadoc в Android Studio
/**
*
* @param xInt
* @param xString
* @param xBoolean
* @return
*/
public static String someMethod(int xInt, String xString, boolean xBoolean) {
if (xString == Integer.toString(xInt) == xBoolean) {
return "all are equal";
}
return "a string";
}
Я хочу изменить шаблон JavaDoc, так что, когда я типа «/ ** + Enter», он будет автоматически генерировать это:
/**
* Explanation of Method here
*
* @param xInt Interger Explanation here
* @param xString String Explanation here
* @param xBoolean Boolean Explanation here
* @return Explanation Here
*/
выглядит не очень перспективным: http://stackoverflow.com/questions/17607925/how-configure-intellij-idea-javadoc-templates – zapl
Возможный дубликат http://stackoverflow.com/questions/17607925/how -configure-IntelliJ-идея-Javadoc-шаблоны –