Unable to run JetBrains plugin at all during development - intellij-idea

I'm working on creating a JetBrains plugin, and this is driving me completely nuts right now. I had both an app and project component running and working (just starting to play around with them), but now it appears that the initComponent methods of both are not getting called when I run the plugin. I have no idea what I changed (this is just a tiny dummy/test project that I haven't put in source control yet). I'm sure it must be something really obvious, but I'm totally stumped. In theory I should be able to debug things, but I can't even get the initComponent methods to fire, so I don't know where I would set an initial breakpoint. Any ideas?
PS: The plugin devkit plugin is enabled on both my development instance of IntelliJ as well as the test instance that launches when I run my plugin project.
Update: I now see by looking at the idea.log when I run my plugin that the plugin I am developing is disabled for some reason:
2013-07-07 11:17:23,004 [ 2414] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Plugin display name here (1.0), Sample (1.0)
As I said above, it must not have been disabled before because it was running before, however I don't see how to enable/disable the plugin that is in development (you would thing the plugin run configuration provided by IntelliJ would ensure that it is enabled)

Okay, I can't believe I missed this, but the plugin(s) I was developing were disabled in the preferences panel of the test instance of IntelliJ. I was able to enable the plugins in the preferences and it started working again (and they continue to work because I assume those settings are persisted either in the test project or the development sandbox settings).
I still have no idea how I disabled them in the first place, and I can't believe I didn't see that they were disabled in the preferences pane...

Related

How do I download ClojureDocs for Cursive manually in IntelliJ?

I've recently installed the Cursive plugin for IntelliJ IDEA. At first startup, a popup asks whether ClojureDocs examples should be downloaded:
I clicked on "Don't ask me again" by mistake, instead of "Download". This only happens on the first startup of the plugin, so there's no chance of getting the choice again (as explained in the relevant documentation).
How do I get this installed? As I'm fairly new to the language and environment, I find the examples of great help.
I've searched for a setting that would allow the plugin to ask again, or to initiate the download - no success.
I've tried to disable then enable the plugin (including restarts of the IDE) - no success.
I've tried to uninstall then reinstall the plugin (including restarts of the IDE) - no success. It seems to remember the old setting.
I imagine removing some configuration file or option would do the trick.
This applies to IntelliJ IDEA version 2020.3 and Cursive version 1.10.0-2020.3 - the Cursive plugin has already been installed and is active.
On menu go to File > Settings, in Settings Language & Frameworks > Clojure, heading Documentation Options, click Update.

Where to find Quarkus run configuration in Intellij IDEA?

Some time ago I used to run Quarkus projects in Linux as any other proyect, this means by clicking "Edit Configurations" and selecting "Quarkus (Maven)" as you can see in this picture:
But now I´m using Windows and those menus have disapeared:
As an alternative currently I´m running my Quarkus projects from Maven tab, which isn´t a fashion way:
So at the begining I thought this was due to a bug in Quarkus Tools plugin that I created a new issue, however that plugin does not offer such feature. Could anybody give a hand on how to run Quarkus projects as any other project? Thanks in advance.
Run configurations are offered by this plugin: https://plugins.jetbrains.com/plugin/14242-quarkus-integration
Looks like it is discontinued though, marked as "deprecated" and it's not showing in the Plugin marketplace (within IntelliJ) for me, so I had to install it via the website.
AFAIK there are plans for the official JetBrains bundled plugin to support it (https://youtrack.jetbrains.com/issue/IDEA-228507), but it's not done yet.

IntelliJ Run Configuration Broken by an Incompatible Plugin I Can't Uninstall?

I had been developing an application on a trial version of IntelliJ 2016 Ultimate. Since the trial version ran out, I resumed work using the Community Edition. However, trying to launch my application yielded the following error:
Unknown run configuration type #com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory
"No problem" I thought, just an incompatible plugin that was installed with Ultimate that I don't really need anyway. I opened the Plugins section of the Preferences menu, but I can't find the plugin in question. Below is a partial screenshot of the plugin list where I would expect to see the plugin listed in the error message.
The configuration can also not be edited from the Run/Debug Configurations menu, but lists the Run Configuration error as: "Broken configuration due to unavailable plugin or invalid configuration data."
Am I really unable to uninstall the Ultimate plugin preventing my run configuration from working from the Community Edition? What can I do to fix this if so?
It's have been a long time since this question was launched but it might be useful for new searches.
I got the same error with Dart and Flutter.
Just go to Menu >> File >> Settings. Then type plugins on the search box. Check if your plugins need to be updated (in my case Dart and Flutter). I the screenshot I had clicked in the "update" green button. So it turns into "Restart IDE" text. It should fix the problem once you restart the IDE.
To the best of my knowledge the community edition of IDEA will not load and run plugins that are not compatible with it. Moreover, by default, the community edition uses a different configuration directory than the Ultimate edition. So unless you modified the config directory to use, the community version should not be picking up the Ultimate Edition's plugins. Based on the error you show, I think the issue is you simply need to delete that Run configuration. The error is saying that that Run configuration wants to use a Plugin (The Tomcat Plugin) that is not available (i.e. not installed).
If you still want to confirm what plugins are installed, you can manually uninstall a plugin by removing it from the plugins directory. Note that some plugins are simply a standalone JAR, in the plugins directory, others are sub-directories within the plugins directory. Just delete the JAR or sub-directory.
That plugins directory is the idea config directory. See Directories used by the IDE to store settings, caches, plugins and logs for information on its location. On windows for example, by default it will be:
Ultimate: C:\Users\UserName\.IntelliJIdea2016\config\plugins
Community: C:\Users\UserName\..IdeaIC2016\config\plugins
UPDATE
I forgot to mention... bundled plugins are in ${idea-install-directory}/plugins. So for the ultimate edition, the Tomcat plugin is in ${idea-install-directory}/plugins/Tomcat. That is why, as you mentioned in your comment below, you are not seeing that plugin in the user installed plugin directory I mentioned above.
updating flutter and android studio worked in my
case
Simple upgrade Dart plugin..
Go to Settings/Plugins/Browse Repositories and search dart (Language) and upgrade
this will work.
I had a similar worded issue "Run Configuration Error: Broken configuration due to unavailable plugin or invalid configuration data."
In the bottom right part of the Rider IDE, you will see a popup that says
"Plugin supporting feature (Run Configuration[UNITY_ATTACH_AND_PLAY]) is currently disabled."
Click enable plugins, and restart when Rider asks you to do so.
If this does not work, remember that one possible reason is the issues with macOS indexing (my Macbook started to malfunction after its battery hit 0). A way to check is to try and search a file from the top right corner(). If you can not find existing files, this means macOS messed up with indexing.
To solve it, click Apple icon on top left side and go to System Preferences -> Spotlight -> Privacy Tab -> Add all folders to the "won't index" box -> Remove everything you have added so they get reindexed.
https://www.techradar.com/how-to/software/operating-systems/how-to-fix-a-mac-s-broken-find-function-1298964
Lastly, go to Rider and hit File -> Invalidate Caches and Restart.

Jenkins without icons

My instance is working fine but it's been a while since the icons were working. You can see it here. I tried restarting the instance various times without any luck.
You had green-balls plugin "1.12-h-1" plugin installed. This plugin is designed for eclipse hudson 3.0 and incompatible with jenkins. We (cloudbees) have noticed this issue and removed it from our update center in the meantime.

Eclipse plugin is listed with other plug-ins, but UI contributions are missing

I wrote two Eclipse plugins that work fine when I use Eclipse to run them in another instance of Eclipse. I'd like to distribute the plugins to a relatively small number of people for feedback and was hoping that the dropins folder would provide a quick and dirty solution. When I put the plugins in the dropins folder of my Eclipse installation (Indigo), I see the plugins listed with other plugins in the installation details. The UI contributions are missing and I haven't been able to find any error messages in the logs or otherwise.
As stated, I'm looking for a quick and dirty solution. I intend to build an update site in the future, but would prefer to invest time into that only after getting feedback on the plugins because this is a side project.
It sounds like your plugin is loaded, but isn't started. A 'quick and dirty' solution is to have it use the org.eclipse.ui.startup extention point so it is activated on startup.
Another possibility is that your UI additions just aren't activated for the perspective, which you can fix by running Window > Customize Perspective.