LuaHelper icon indicating copy to clipboard operation
LuaHelper copied to clipboard

希望加入代码块禁用格式化的功能

Open ZhanBeier opened this issue 8 months ago • 0 comments

比如: local PROTOCOL_FIELDS = { -- 发动机基础参数 {name="rpm", bytes={1,2}, scale=1, signed=false, unit="RPM"}, -- 0:1 {name="throttle", bytes={3,4}, scale=10, signed=false, unit="%"}, -- 0.1% {name="manifold_press", bytes={5,6}, scale=10, signed=false, unit="kPa"} } 我不希望这一段被格式化,能不能加入类似 --! NO_FORMAT_START --! NO_FORMAT_END 的字段来阻止部分代码的格式化?

ZhanBeier avatar May 05 '25 06:05 ZhanBeier