We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
注:小程序和外部库等部分代码可以不遵守
f() -- 语句末不需要加分号
if c1 then s1 elseif c2 then s2 else s3 end
while c do s end
for i=1,#l do s end
for k,v in next,table do -- pairs(table)最好换成next,table s end
repeat s until c
do s end
单行代码-- 注释1
-- 注释2 函数或者代码块
--[[ 这里最好带上几个字的概述,方便折叠的时候预览,方括号间等号能不带就不带 注释内容 ]] 函数或者代码块
GC.DO{100,40 {'print',"Hello",0,0}, {'print',"World",0,20}, }
用正则查找替换,把 \s([,+\-*/=><"']|==|>=|<=|~=|\.\.)|([,+\-*/=><"']|==|>=|<=|~=|\.\.)\s 全部替换成 $1$2
\s([,+\-*/=><"']|==|>=|<=|~=|\.\.)|([,+\-*/=><"']|==|>=|<=|~=|\.\.)\s
$1$2