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

LifePlugin can't find PsiClass #198

Open
yanalexn opened this issue Feb 9, 2025 · 0 comments
Open

LifePlugin can't find PsiClass #198

yanalexn opened this issue Feb 9, 2025 · 0 comments

Comments

@yanalexn
Copy link

yanalexn commented Feb 9, 2025

Hi, Dmitry!

Just started writing a simple plugin using your LivePlugin. Hot reload is really the killer feature!

Unforturnately, LivePlugin's bundled jars do not contain com.intellij.psi.PsiClass and some other psi classes (e.g. PsiJavaFile) from the standard Intellij Platform SDK. My goal is to find all private final fields in a current java class and perform some boiler-plate editing. Since I'm new to plugin development, it's not clear for me how to extract all those fields without psi classes and also it's not clear whether those classes should or should not be included in LivePlugin by default. Interstingly, I've noticed that some psi classes, that are inaccessible for me, are included in these LivePlugin examples: https://gist.github.com/dkandalov/5992191, https://gist.github.com/dkandalov/5979943, which makes me wonder if everything's correct with my setup

If it's necessary, I use: Ultimate Intellij IDEA 2024.3.1 on Windows 10

Image

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

1 participant