Visual LISP 代码格式化程序可以在长注释超出右边距时将长注释拆分为多个注释。 注意:Visual LISP IDE 仅在 Windows 上可用。
注释在以下情况下被拆分
例如,如果“右文本边距”设置为 60,单分号注释缩进设置为 40,则代码格式化程序将按如下方式拆分注释: 格式化之前 (if (/= s "Function canceled") (princ (strcat "\nError: " s)) ;single semicolon cmt ) 格式化后 (if (/= s "Function canceled") (princ (strcat "\nError: " s)) ; single semicolon ; cmt ) |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )
GMT+8, 2024-6-10 19:48
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.