dkandalov / live-plugin

IntelliJ plugin for writing IntelliJ plugins at runtime ⚡️
https://plugins.jetbrains.com/plugin/7282
Apache License 2.0
858 stars 67 forks source link

Project Plugin"dependency-rules" #178

Open Cui-xf opened 7 months ago

Cui-xf commented 7 months ago

It seems that "this" should be used here

image

dkandalov commented 7 months ago

You're right, thank you!

Cui-xf commented 7 months ago

It is a good plugin. are you consider support placing plugin script files in a custom directory? example, I want to use git to manage plugin script files, but the directory difficult to find.

dkandalov commented 7 months ago

Thank you!

I agree finding liveplugin folder is not very obvious. Btw, you can always get live plugin directory with ctrl+shift+c (built-in action for copying file path), e.g. on mac "~/Library/Application Support/JetBrains/IntelliJIdea2024.1/live-plugins/foo". Since it's a normal directory you can just use git there.

Another option similar to having a custom directory is to symlink any folder into "live-plugins" folder which contains all plugins, e.g. into "~/Library/Application Support/JetBrains/IntelliJIdea2024.1/live-plugins" on mac.

Finally, there are project-specific plugins in .live-plugins project directory which run when the project is opened and unload them when the project is closed.

I did think about custom directories for live plugin. The problem is that they seem to make things more complicated for not much gain.

Cui-xf commented 6 months ago

Hmm~ Create Kotlin Plugin Zip does not work in idea 2024.1.1

Platform: MacOS 14.4.1 (M3 chip) Idea:#IU-241.15989.150

image

image
Cui-xf commented 6 months ago

Also, a small problem here

image

image

dkandalov commented 6 months ago

Hm, let me have a look 👀 I don't really use this feature and it's somewhat experimental.