LuaHelper icon indicating copy to clipboard operation
LuaHelper copied to clipboard

需要一个禁用格式化时移动注释的选项

Open KyuubiRan opened this issue 1 year ago • 1 comments

版本:v0.2.26

local assets = { 
    -- 动画
    Asset("ANIM", "anim/myanimate.zip"), 

    -- 物品栏图标
    Asset("ATLAS", "images/inventoryimages/myitem.xml"), Asset("IMAGE", "images/inventoryimages/myitem.tex"), 
    
    -- 其他图标
    Asset("ATLAS", "images/other.xml"), Asset("IMAGE", "images/other.tex")
}

在格式化之后会变成

local assets = { 
    -- 动画
    Asset("ANIM", "anim/myanimate.zip"),  -- 物品栏图标
    Asset("ATLAS", "images/inventoryimages/myitem.xml"), Asset("IMAGE", "images/inventoryimages/myitem.tex"),  -- 其他图标
    Asset("ATLAS", "images/other.xml"), Asset("IMAGE", "images/other.tex")
}

这不符合预期 但是我在设置中没有找到格式化不移动注释的选项

KyuubiRan avatar Jun 09 '24 03:06 KyuubiRan

同求,我也没找到办法

ZhanBeier avatar May 05 '25 06:05 ZhanBeier