intellij-plugin

How to add Kotlin PSI source files to IDEA Plugin project configuration

浪子不回头ぞ 提交于 2021-02-17 03:44:44
问题 I am trying to add support for kotlin for one of the IDEA plugins. So far, I found this page and understood that I need to work with kotlin PSI files, such as KtClass and others. When I was setting up my project I added idea source files to sdk(by cloning this repo), to make it easier to debug + see documentation. However it seems that these idea source files doesn't include kotlin source files, such as mentioned KtClass and others, which I use in my project. Currently I see only decompiled

Intellij idea plugin development - hot reload?

僤鯓⒐⒋嵵緔 提交于 2021-02-05 04:49:36
问题 I'm creating some plugin to intellij idea. Each time I'm changing code I need to re run app. Is there something like hot reload or similar thing? Or more efficient way? 回答1: I believe you are looking for the Run -> Reload Changed Classes It usually works well with small changes. 回答2: New versions of IntelliJ products support "Dynamic Plugins", which means restarting the development instance unnecessary. From https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/dynamic_plugins

Intellij idea plugin development - hot reload?

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-05 04:47:27
问题 I'm creating some plugin to intellij idea. Each time I'm changing code I need to re run app. Is there something like hot reload or similar thing? Or more efficient way? 回答1: I believe you are looking for the Run -> Reload Changed Classes It usually works well with small changes. 回答2: New versions of IntelliJ products support "Dynamic Plugins", which means restarting the development instance unnecessary. From https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/dynamic_plugins

Gradle fails trying to build class using PsiMethod in IntelliJ Plugin project

半腔热情 提交于 2021-01-29 03:22:08
问题 I have a Intellij plugin project that I can successfully build without using the PsiMethod class. I've generated this project using this intellij plugin guide As soon as I add in code using PsiMethod class (from the Intellij SDK code_samples directory) The intellisense cannot find any GOTO information for the class. I can then switch my project settings module from JAVA_1.8.0 to by adding it into the platform settings SDKs: This now adds intellisense, and gives me the ability to navigate to

Intellij - how to make a plugin that can perform IDE actions via a CLI or web service?

亡梦爱人 提交于 2021-01-01 04:12:27
问题 I need some help getting started making a specific IntelliJ plugin. I want to make an IntelliJ plugin that makes it so you can launch intelliJ actions from CLI (or from a web service if it's easier). For example, I'm done building my project with a gradle script... but i want to get it ready in intelliJ too. Right now I have to do this manually with a point-and-clicks. Instead I want to have this the ability to externally trigger some IntelliJ commands. In my example I would want to fire off

Intellij - how to make a plugin that can perform IDE actions via a CLI or web service?

隐身守侯 提交于 2021-01-01 04:10:46
问题 I need some help getting started making a specific IntelliJ plugin. I want to make an IntelliJ plugin that makes it so you can launch intelliJ actions from CLI (or from a web service if it's easier). For example, I'm done building my project with a gradle script... but i want to get it ready in intelliJ too. Right now I have to do this manually with a point-and-clicks. Instead I want to have this the ability to externally trigger some IntelliJ commands. In my example I would want to fire off

Attaching Gradle sources in IntelliJ IDEA

試著忘記壹切 提交于 2020-12-27 08:53:06
问题 Once after I create a Gradle project in IntelliJ using the default gradle wrapper and create directories option I see the project structure gets created with build.gradle file. IntelliJ tips me to "You can configure Gradle wrapper to use distribution with sources. It will provide IDE with Gradle API/DSL documentation" - but I am not able to attach the sources even after clicking "Ok, apply suggestion". The Gradle project is getting refreshed but the sources are not attached. We are using a

Android Studio 3.5.2 - Marketplace plugins are not loading

耗尽温柔 提交于 2020-12-06 15:56:19
问题 image image image Android Studio is allowed by Windows Firewall. Tried to : Turn Windows Firewall off Try with a different ISP Try installing the Flutter plugin locally None of these work. Please help me. What am I missing ? 回答1: after a 10hr search here are the steps to the solution: Locate and open the idea.properties file in your Android/bin folder Add idea.plugins.host=https://plugins.jetbrains.com to the file. Save and close file Relaunch Android Studio Hope it helps! 来源: https:/

Android Studio 3.5.2 - Marketplace plugins are not loading

二次信任 提交于 2020-12-06 15:55:38
问题 image image image Android Studio is allowed by Windows Firewall. Tried to : Turn Windows Firewall off Try with a different ISP Try installing the Flutter plugin locally None of these work. Please help me. What am I missing ? 回答1: after a 10hr search here are the steps to the solution: Locate and open the idea.properties file in your Android/bin folder Add idea.plugins.host=https://plugins.jetbrains.com to the file. Save and close file Relaunch Android Studio Hope it helps! 来源: https:/

Android Studio 3.5.2 - Marketplace plugins are not loading

空扰寡人 提交于 2020-12-06 15:55:06
问题 image image image Android Studio is allowed by Windows Firewall. Tried to : Turn Windows Firewall off Try with a different ISP Try installing the Flutter plugin locally None of these work. Please help me. What am I missing ? 回答1: after a 10hr search here are the steps to the solution: Locate and open the idea.properties file in your Android/bin folder Add idea.plugins.host=https://plugins.jetbrains.com to the file. Save and close file Relaunch Android Studio Hope it helps! 来源: https:/