v1.0.2
What's New
This release focuses on character switching, the Petdex online library, and picker performance.
Added
- Switch character: built-in original slime "Gel", local sprite upload (PNG / WebP / GIF, copied to IDE cache), Petdex online catalog (petdex.dev) browse and download
- Petdex: browse community characters in a thumbnail grid with lazy loading on scroll; search and kind filtering
- Per-project character: configure different characters per project; Settings page sets default character and previews each open project's current character
- Right-click menu: Switch character… / Restore default character
- Added / Built-in lists support Ctrl / Shift multi-select; delete requires confirmation
- Settings page: Clear cache
Performance
- Character picker: instant tab render, in-memory Manifest cache with startup warm-up, debounced search + background filtering, background Manifest load, lazy infinite grid append — smoother dialog and search
- Character download: coroutine concurrency and timeout tuning; failed downloads auto-clean temp files
- PetGridView: async thumbnail load via coroutines; cancel off-viewport work to avoid thread-pool stalls
Fixes & UX
- Fix WebP thumbnails showing the full sprite sheet (self-healing cache)
- Fix list scroll jumping to top on background refresh
- Fix preview lock when full image not downloaded; fix Settings deadlock when selecting an incomplete download (background silent download self-heal)
- Widen local upload name input field
更新内容
本次更新聚焦「切换形象」、Petdex 在线库与形象选择器性能体验。
新增
- 切换形象:内置原创史莱姆「Gel」、本地上传网格精灵图(PNG / WebP / GIF,复制至 IDE 缓存)、Petdex 在线形象库(petdex.dev)浏览与下载
- Petdex:以网格缩略图浏览社区形象,视口滚动自动加载缩略图,支持搜索与按分类筛选
- 按项目形象:可为不同项目配置不同形象;设置页可设置默认形象并预览各打开项目当前使用的形象
- 右键菜单新增 切换形象… / 恢复默认形象
- 已添加 / 内置列表支持 Ctrl / Shift 批量多选,删除操作二次确认
- 设置页新增 清除缓存
性能优化
- 形象选择器:Tab 立即渲染、Manifest 内存缓存与启动预热、搜索输入防抖 + 后台过滤、Manifest 后台加载、网格单元惰性无限追加,减轻弹窗与搜索卡顿
- 形象下载:协程并发与超时策略优化,失败自动清理临时文件
- PetGridView:协程异步加载缩略图、视口外自动取消,避免线程池卡死
修复与体验
- 修复 WebP 缩略图显示整张精灵图的问题(自愈缓存)
- 修复后台数据刷新导致列表滚动条被拉回顶部
- 修复未下载完大图时预览锁死、选择未下载完的宠物导致 Settings 界面死锁(引入后台静默下载自愈)
- 调整本地上传面板名称输入框宽度
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.2.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.2.zip,重启即可。