Where can I find the IntelliJ SSH Remote Run Plugin? - intellij-idea

I want to connect to a server via SSH directly in IntelliJ IDEA. Google's first search result links to the IntelliJ IDEA help manual about "Running SSH Terminal". In this guide's first step I am told that IDEA includes the "SSH Remote Run" plugin which I can't either find any information on or find it in the plugin repository of the IntelliJ platform.
This is the meant section of the manual page:
Make sure the SSH Remote Run plugin is enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.

Related

How to configure IntelliJ to show SVN as a repository option alongside GIT, Mercurial, etc?

I had a project I am working on running on IntelliJ and connected to SVN. However when I opened IntelliJ today it wasn't connected. So I tried to enable version control from VCS but the SVN option isn't there, or in checkout from version control or import into version control.
I checked if Subversion plugin was enabled in the settings and it was, what's the problem?
The Marketplace tab shows plugins available in the repository. So it looks like the plugin is installed, but not enabled.
Switch to the Installed tab, and make sure the plugin is enabled.

Cannot connect Intellij Ultimate 2016.2 to GIT using PKI

So, I have been trying on and off to get IntelliJ IDEA Ultimate to connect to our GitLab and JIRA server but both require the use of PKI and I cannot figure out how to get this to work. When attempting to use the VCS menu option for Git to pull or interact with Git, I get Git Pull Failed fata: Could not read from remote repository. If I am using the terminal screen within IntelliJ it works just fine after I enter my passphrase for the cert.
Now note that I am on a Windows system.
A colleague next to me has IntelliJ same version running on a Linux system and he is able to use the Git VCS menu features.
Anybody know how to get Windows to work properly with IntelliJ to Git and or JIRA?
Make sure you have the .ssh/config file in your user home that specified the key to use, by their full path. Then make sure you have Built-in SSH executable selected in Settings - Version control - Git
Workaround - use Native SSH executable and ssh-agent. A similar setup described here

How to debug Liferay portlet using IntelliJ idea?

I deploy my application using Maven on Liferay 7 (on Tomcat 8). But I need to debug it. How to configure my debug? Because, when I start maven with debug mode, it builds and stops. I have no ideas how to deal with it
Maven with debug mode is only targeted to debug maven build processes. If you want to debug your portlet you should follow the next steps:
Run Menu Entry > Edit Configurations > Add New Remote Configuration > Configure your host and debug port
You have to check too that JPDA port is enabled your Tomcat (you can enable it in your startup.sh/startup.bat script adding jpda in the final line)
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$#"
Quick generic answer (someone with actual IntelliJ experience can probably give more details):
You start tomcat, that has Liferay deployed. Follow the advice you have for "how to debug tomcat applications". The caveat is that you might need to point IntelliJ to the source files for some (all) of the modules in Liferay - which is a huge task (being composed out of 500 modules. For eclipse I'm aware of a fix, for IntelliJ I'm not aware. I'm pretty sure such a beast exists though.
It will be easier (e.g. quick) if you only need your own modules' source.

How to disable IntelliJ IDEA version control by default?

Every single time I create a new project in IntelliJ IDEA it sets its version control system to Subversion. It's kind of annoying to disable it manually every time. How do I disable it for good, so that the default option for version control is "none"?
There is no setting which disables version control by default for new projects but we can disable the Subversion (or Git or Mercurial or ...) plugin generally.
To do that:
Go to File/Settings/Plugins
Choose tab Installed
Look for the Subversion plugin, disable it by removing the tick and clicking "Apply":
Optional:
Disable Git version control:
untick Git Integration (this will disable Github and Google Cloud Tools Core, Google Cloud Tools For Android Studio too)
Disable Mercurial version control:
untick Mercurial Integration
Do you use Maven by chance? There is an issue with VCS detection for maven projects. See https://youtrack.jetbrains.com/issue/IDEA-115100

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.