Giter Club home page Giter Club logo

intellij-pets's Introduction

Intellij Pets

Adds a cute pet to your favourite IDE.

Inspired (very heavily) by vscode-pets created by Anthony Shaw.

Features

  • A pet that walks around, sits, follows you, interacts with you, basically a fwend
  • Pet variants: 5 cats, bunny, chicken, axolotl, hedgehog, 5 dogs, etc.
  • Pet scale setting, to adjust the size of your pet

How to use

  • After installation, you'll find a pet icon on the right toolbar of your IDE, click on it to open the tool window
  • To change the pet variant, go to Preferences > Tools > Pets, and select a pet variant (see screenshot below)

Credits

  • Original idea from vscode-pets created by Anthony Shaw
  • All pet spritesheets created by SeethingSwarm (note: the assets were purchased, must not be resold, see itch.io page for details)

Screenshots

Collection Collection

Demo 1 Demo

Demo 2 Demo

Settings Settings

intellij-pets's People

Contributors

gabrielchl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

intellij-pets's Issues

Incompatible with WebStorm 2023.2

When prompted to upgrade to WebStorm version 2023.2 it warns me that the Pets plugin is not compatible with that version. Would you be able to look into it and make Pets compatible with the latest version of WebStorm please? ๐Ÿ™ I don't want to lose my pet cat ๐Ÿˆ Thanks!

More pets than one pet? Free movement?

Is it possible to have more than one pet at a time?
It you would be nice to make them move randomly when panel is not in focus or something line that

Feature request: Boston Terrier

Hello there, awesome plugin :)
Are you planning expanding list of animals? Dogs are missing ^^
A Boston Terrier would be great, might fit in size perfectly to the pack ;)

Pet In Editor Window

I would have started a discussion, but that isn't available.

Would be neat if the pet could wander around the entire window, rather than being confined to a tool window.

Throw balls

The VS Code version has a throw ball feature. Can we please have it?

User reports crash when opening the tool window

Initial report

  • user using Windows, IntelliJ IDEA v2024.1.4
  • pets plugin v0.1.7
  • toolwindow crash on being opened, with the following thread dump provided:
"AWT-EventQueue-0" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.awt.MediaTracker@23cc6195
	at [email protected]/java.lang.Object.wait(Native Method)
	at java.desktop/java.awt.MediaTracker.waitForID(MediaTracker.java:681)
	at java.desktop/java.awt.MediaTracker.waitForID(MediaTracker.java:634)
	at dev.gabrielchl.intellijPets.utils.Utilities.waitForImageToLoad(utils.kt:15)
	at dev.gabrielchl.intellijPets.toolWindow.Pet.<init>(Pet.kt:64)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory$PetsToolWindowContentPanel.createPets(PetsToolWindowFactory.kt:72)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory$PetsToolWindowContentPanel.<init>(PetsToolWindowFactory.kt:44)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory$PetsToolWindowContent.<init>(PetsToolWindowFactory.kt:28)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory.createToolWindowContent(PetsToolWindowFactory.kt:21)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.createContentIfNeeded(ToolWindowImpl.kt:596)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.scheduleContentInitializationIfNeeded

Attempted fix with v0.1.9

  • following the report, and with the info in the thread dump it seems like it got stuck loading the spritsheet images
  • updated the code to use a sync image loading API 404c48f, released in v0.1.9
  • we verified that the spritesheet resources does exist on user machine and plugin config file appears normal
  • user provided new thread dump:
java.lang.IllegalArgumentException: input == null!
	at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1402)
	at dev.gabrielchl.intellijPets.toolWindow.Pet.<init>(Pet.kt:55)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory$PetsToolWindowContentPanel.createPets(PetsToolWindowFactory.kt:103)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory$PetsToolWindowContentPanel.<init>(PetsToolWindowFactory.kt:47)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory$PetsToolWindowContent.<init>(PetsToolWindowFactory.kt:31)
	at dev.gabrielchl.intellijPets.toolWindow.PetsToolWindowFactory.createToolWindowContent(PetsToolWindowFactory.kt:24)

Not sure how to proceed :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.