1.0版本只支持为已经新建好的类追加字段,且需要满足一下格式:
字段名
字段类型
注释
例如:
name String // the name of student
score String // its score
address String // RT
phoneNum int // RT
生成的代码格式为:
/**
* 姓名
**/
private String name;
后续会继续开发2.0版,支持新建完整类。
For English.
Current version is 1.0.
Now only use for existing class and the format of text must be like this:Name
Type
Annotation
e.g.
name String // the name of student
score String // its score
address String // RT
phoneNum int // RT
I will develop 2.0 to support Create a new class file by class name and fields text.
These will be Synchronized to my github and CSDN.
Gaok:
Github: https://github.com/unclepizza