mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-09-20 04:24:05 +00:00
chore[protocol]: comment
This commit is contained in:
1 parent
a8768f1920
commit
97f69995e0
1 file changed
+1
@@ -67,6 +67,7 @@ public enum CodeTemplatePlaceholder {
|
||||
.filter(it -> lineTrim.startsWith(it.placeholder))
|
||||
.findAny();
|
||||
var formatLine = line;
|
||||
// 形如 space ${protocol_class} 的占位符多了几个space,在生成代码的时候将每一行都添加相等的space,以此来对齐生成的多行代码块
|
||||
if (startPlaceholderOptional.isPresent()) {
|
||||
var startPlaceholder = startPlaceholderOptional.get();
|
||||
// calculate the tab length
|
||||
|
||||
Reference in new issue
Block a user