Skip to content

VSCode 设置项

配置项名称数据类型描述默认值
image-manager.file.rootstring[]扫描图片的根目录当前工作区
image-manager.file.excludestring[]排除目录["**/node_modules/**","**/.git/**","**/dist/**","**/coverage/**","**/.next/**","**/.nuxt/**","**/.vercel/**","**/.idea/**"]
image-manager.file.scanstring[]扫描的图片类型["png","jpg","jpeg","webp","gif","tiff","tif","avif","heif","heic","apng","svg","bmp","ico"]
image-manager.file.confirmDeleteboolean删除图片时是否询问true
image-manager.file.revealFileInOsDeeplyboolean在OS中显示文件夹时进入到文件夹中false
image-manager.appearance.themedark | light | auto主题auto
image-manager.appearance.languageen | zh-CN | zh-TW | ja | auto语言auto
image-manager.appearance.primaryColorstring主题色undefined
image-manager.viewer.warningSizenumber | boolean当图片体积大于此值时右上角展示警告点(KB)1024
image-manager.viewer.imageWidthnumber图片宽度(px)100
image-manager.viewer.imageBackgroundColorstring图片背景色#1a1a1a
image-manager.viewer.imageRenderingauto | crisp-edges | pixelated图片渲染方式(可自行调整像素风)auto
image-manager.viewer.showDetailsOnHoverboolean鼠标悬停时显示图片详情true
image-manager.mirror.enabledboolean使用镜像下载依赖false
image-manager.mirror.urlstring镜像地址(通常情况不需要自定义)undefined
image-manager.compression.errorRangenumber误差范围(KB),超出此误差视为图片压缩后增大2
image-manager.compression.keepOriginalboolean压缩后保留原图false
image-manager.compression.fileSuffixstring压缩图片文件名添加后缀.min
image-manager.compression.skipCompressedboolean跳过已压缩的图片true
image-manager.compression.qualitynumber压缩图片质量-
image-manager.compression.sizenumber图片尺寸(几倍图)1
image-manager.compression.formatstring压缩时转化图片的格式''
image-manager.compression.png.compressionLevelnumberpng图片压缩等级9
image-manager.compression.gif.colorsnumbergif图片色彩256
image-manager.compression.svg.compressedAttributestring | nullsvg压缩后添加「已压缩」属性。如果设置为 null,则禁用功能c
image-manager.compression.svg.removeDataAttributesboolean删除svg中的 data-* 属性。除了 data-[{compressedAttribute}]true
image-manager.conversion.formatstring转化图片格式''
image-manager.conversion.keepOriginalboolean转化图片格式后保留原图false
image-manager.conversion.icoSizenumber[]ico图标尺寸[16, 32]
image-manager.similarity.precisionnumber判断图片相似的精确度。值越小,判断越严格10