Releases: anjiemo/IdeDesktopPetSprite
Release list
v1.0.9
What's New
Added
- Multi-project identity: display project nickname/name label above the pet when window is focused or hovered, with configurable truncation (middle ellipsis / end ellipsis)
- Focus glow animation: when the active project window gains focus, a radial outward-pulsing halo appears behind the pet, driven at 30 FPS
- Settings live preview: pet appearance syncs instantly while editing config; changes revert automatically on cancel
Fixed / Optimized
- Use monotonic clock (System.nanoTime) for animation timing, immune to system clock adjustments
- Cache label font height to eliminate ~90 BufferedImage allocations/sec in the 30 FPS paint loop (reducing GC pressure)
- Offload character loading (disk I/O + image decode) to background thread, fixing IDE freeze when switching pets
更新内容
新增
- 多项目身份区分:宠物顶部显示当前项目昵称/名称标签(聚焦或悬停时展示),支持自定义截断模式(中间省略 / 末尾省略)
- 聚焦高亮动效:活跃项目窗口获焦时,宠物身后显示向外发散的波动光晕,以 30 FPS 流畅驱动
- 设置页实时预览:修改配置时宠物外观 0 延时同步,取消时自动回滚
修复 / 优化
- 使用单调时钟(System.nanoTime)驱动动效,免疫系统时钟调整
- 缓存字体行高,消除 30 FPS 绘制循环中每帧 ~90 次 BufferedImage 分配导致的 GC 高压
- 将形象加载(磁盘 I/O + 图片解码)移至后台线程,修复切换宠物时 IDE 卡住问题
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.9.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.9.zip,重启即可。
v1.0.8
What's New
- Synchronize Petdex loading animation with grid data filling, fixing the white screen issue caused by premature card switching.
- Explicitly manage the lifecycle of AsyncProcessIcon animation (resume/suspend), fixing the issue where the loading animation is not displayed in modal dialogs.
- Optimize the PetdexClient cache directory to be lazily initialized, eliminating redundant disk I/O during cyclic construction.
- Add error status panels and retry buttons for loading failures.
- Replace the native Swing timer with the platform scheduler, fixing the preview animation freeze on the right side of the modal dialog.
更新内容
- 在线形象库(Petdex)加载动画与网格数据填充同步,修复卡片切换过早导致的白屏问题。
- 显式管理 AsyncProcessIcon 动画生命周期(resume/suspend),修复模态对话框中加载动画不显示的问题。
- 优化 PetdexClient 缓存目录为懒初始化,消除循环构建时的重复磁盘 I/O。
- 添加加载失败错误状态面板与重试按钮。
- 使用平台调度器替换原生 Swing 定时器,修复模态框中右侧预览动画卡死的问题。
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.8.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.8.zip,重启即可。
v1.0.7
What's New
- Fix the issue where the pet gets permanently stuck in the "Syncing" state after Gradle sync is cancelled or ends abnormally.
更新内容
- 修复 Gradle 同步被取消或异常结束时,宠物会卡死在“Sync 同步中”状态的问题。
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.7.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.7.zip,重启即可。
v1.0.6
What's New
- Remove until-build upper cap; compatible with Android Studio 2026.1.3 Nightly (261.25134.95) and future IDE versions
更新内容
- 移除 until-build 上限,兼容 Android Studio 2026.1.3 Nightly(261.25134.95)及后续 IDE 版本
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.6.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.6.zip,重启即可。
v1.0.5
What's New
- Fix JetBrains Marketplace compatibility: Gradle listener uses projectPath API; removed findProject
- Modernized threading (coroutines / AppExecutorUtil / defaultModalityState); postStartupActivity → projectActivity
- service() / serviceIfCreated() replace getService
- since-build 242 (IDE 2024.2+)
更新内容
- 修复 JetBrains Marketplace 兼容性:Gradle 监听改用 projectPath 新版 API,移除 findProject
- 线程调度现代化(协程 / AppExecutorUtil / defaultModalityState);postStartupActivity 改为 projectActivity
- service() / serviceIfCreated() 替代 getService
- since-build 242(IDE 2024.2+)
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.5.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.5.zip,重启即可。
v1.0.4
What's New
- Fix JetBrains Marketplace validation (plugin name and bilingual EN/ZH description format)
- Compatibility range updated to IDE 2026.1 (until-build 261.*)
更新内容
- 修正 JetBrains Marketplace 上架校验(插件名称、中英文双语描述格式)
- 兼容版本范围更新至 IDE 2026.1(until-build 261.*)
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.4.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.4.zip,重启即可。
v1.0.3
What's New
Added
- Tools → Desktop Pet Sprite Settings… menu entry
- Search Everywhere (double Shift): search "Desktop Pet" or 「桌宠」 to open Settings
- Settings page renamed to Desktop Pet Sprite(桌面宠物)
- Plugin list SVG icons (light / dark themes)
更新内容
新增
- Tools → Desktop Pet Sprite 设置… 菜单入口
- Search Everywhere(双击 Shift)搜索「桌宠 / Desktop Pet」直达设置
- 设置页更名 Desktop Pet Sprite(桌面宠物)
- 插件列表 SVG 图标(浅色 / 深色主题)
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.3.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.3.zip,重启即可。
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,重启即可。
v1.0.1
What's New
This release focuses on configurability and the right-click hide experience.
Added
- Settings page
Settings → Tools → IDE Desktop Pet Sprite:- Enable / disable desktop pet (master switch)
- Default size (S / M / L)
- Per-state response toggles: Gradle sync / indexing / build·compile / run·debug
- Per-project visibility: permanently hide pets for selected projects; multi-select batch actions and show-all / hide-all
- Right-click menu split into two items:
- Temporarily hide (restored when reopening the project)
- Permanently close (re-enable in Settings)
更新内容
本次更新聚焦「可配置」与右键隐藏体验。
新增
- 设置页
Settings → Tools → IDE Desktop Pet Sprite:- 启用 / 禁用桌面宠物(总开关)
- 默认尺寸(小 / 中 / 大)
- 按状态响应开关:Gradle 同步 / 建立索引 / 构建·编译 / 运行·调试
- 按项目显示:可单独「永久关闭」某些项目的宠物,支持多选批量与一键全部显示 / 隐藏
- 右键菜单拆分为两项:
- 临时隐藏(重开项目后恢复)
- 永久关闭(需在设置中重新开启)
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.1.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.1.zip,重启即可。
v1.0.0
About
A desktop floating pet for IntelliJ-based IDEs and Android Studio — it reacts to your IDE state automatically.
State mapping
- Distinct animations and status badges for Gradle sync, indexing, build/compile, and run/debug
- Celebration or dejected expressions on success or failure
- When activities overlap, priority is: run > build > sync > index > idle
Interaction
- Always-on-top floating window, transparent background, never steals editor focus
- Drag with the left mouse button; position is remembered automatically (multi-monitor safe)
- Right-click menu: reset position / resize (S · M · L) / hide pet
Assets
- Built-in original slime "Gel" sprite by anjiemo (replaceable with any sheet of the same spec)
Compatibility / License
- IntelliJ Platform sinceBuild 233+ (IntelliJ IDEA, Android Studio, etc.)
- Apache License 2.0
简介
桌面悬浮宠物,随 IDE 状态自动切换的 IntelliJ / Android Studio 插件。
状态联动
- Gradle Sync / 建立索引 / 构建·编译 / 运行·调试 各有动画与状态徽标
- 成功 / 失败有庆祝 / 沮丧表情反馈
- 多活动叠加按 运行 > 构建 > 同步 > 索引 > 待机 取优先级
交互
- 悬浮窗置顶、透明背景、不抢编辑器焦点
- 左键拖动移动,位置自动记忆(多屏安全)
- 右键菜单:重置位置 / 调整尺寸(小·中·大)/ 隐藏宠物
素材
- 默认内置 anjiemo 原创史莱姆「Gel」精灵图(可替换为任意同规格精灵图)
兼容 / 许可
- IntelliJ 平台 sinceBuild 233+(IntelliJ IDEA、Android Studio 等)
- Apache License 2.0
Install / 安装
Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.0.zip, then restart.
安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.0.zip,重启即可。