Skip to content

LifePlugin can't find PsiClass #198

@yanalexn

Description

@yanalexn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions