Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pet In Editor Window #1

Open
Unthrottled opened this issue Feb 15, 2023 · 8 comments
Open

Pet In Editor Window #1

Unthrottled opened this issue Feb 15, 2023 · 8 comments

Comments

@Unthrottled
Copy link

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.

@Unthrottled
Copy link
Author

I'd be willing to help with this, just didn't know if it was tried and you ran into issues.

@gabrielchl
Copy link
Owner

gabrielchl commented Feb 15, 2023

hey, yeah it's a great idea!
but i don't believe that it's possible to do in intellij (i think?)
i think similar to the vscode-pets plugin (tonybaloney/vscode-pets#250), intellij doesn't provide any methods to render stuff around the window :'(

@Unthrottled
Copy link
Author

I mean you can, it's just the code you have to write is terrible. Java swing development is no fun. However where there is a will there is a way. I've written a plugin that displays gifs in window (wherever) and another that renders a sticker on top of the editor. So it is possible. Don't know how easy it would be to get the pet to stay in just the code editor, but it can be put anywhere in the window :)

Kapture.2023-02-16.at.05.22.45.mp4

@gabrielchl
Copy link
Owner

wait what?! didn't know that was even possible, I'll have a look into it when i have time :)

@Unthrottled
Copy link
Author

Yeah, it's just a matter of finding the right parent component & placing it there.

You can use the UI Inspector to help you find stuff
https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html

@jk779
Copy link

jk779 commented Sep 26, 2023

I'd love that feature :) @Unthrottled maybe you can link your plugin to get an inspiration where to start with placing? :) Sadly I'm really rusty in java, but maybe a boring weekend for @gabrielchl comes up or something ;) ^^

@viaSeunghyun
Copy link

Wow. Hi, @Unthrottled

The video you attached in your comment on this issue is of a plugin you developed yourself, not a publicly available one, right?
If it's not publicly available, that's a bit of a shame. It's certainly piqued my interest, haha!

@Unthrottled
Copy link
Author

@viaSeunghyun

No worries fam, it is publicly available. The JetBrains plugin repository is wanting me to do some nonsense (fix internal SDK usage) before I can upload it to the marketplace.

You can find all the plugins here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants