chore[protocol]: comment

This commit is contained in:
godotg committed 2024-06-17 17:52:52 +08:00
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