Is it possible to transfer all the plugins and settings? - intellij-idea

I've been using IntelliJ IDEA on my Mac for too long. My company asked me to use their laptop but I need all my plugins and settings. I've never used IntelliJ IDEA on another computer so maybe it's easy, I really don't want to install all the plugins one by one since there are too many.

Settings can be moved using File | Manage IDE Settings | Export Settings / Import Settings or the Settings Repository plug-in.
As for the plugins, just copy the plugins folder from one system to another.

Related

Migrate intelliJ IDE everything useful from one system to another

I have been using the IntelliJ IDE for development on my macbook pro. I am not moving to a new macbook and will be installing the IntelliJ IDE on that system.
How can I migrate everything useful like installed plugins, settings, etc from the older system to the new system.
Use File | Manage IDE Settings... | Export/Import Settings... actions.
Note that this action is unavailable if you have a settings repository configured or if you have enabled Settings Sync.
See more in a related Share IDE settings documentation topic.

Separate IntelliJ settings for projects

I'm working on multiple projects at the moment and the fact that IntelliJ automatically synchronizes all settings makes life quite difficult for me.
For example, for project A I need to use a specific version of Maven with specific settings, for project B another version with other settings and for project C another version. This however isn't possible, when I set the Maven folder to something, it automatically syncs when I open a new IntelliJ.
This was just an example, there are more settings that I would like not to be shared.
Is there a way to resolve this?

Import settings to IntelliJ via file system

I'm preparing an IntelliJ IDEA 2017.3 rollout for about fifty software developers working with Windows PCs. To make life a little easier for them I want to provide some default settings fitting our company infrastructure and coding guidelines.
I've found I could export a file settings.jar but every developer would have to import it manually. That's not ideal.
An other way is to share settings via built-in plugin settings repository. But I couldn't get it to work properly with a git repository located at a network share.
Maybe I could overwrite files in directory user.home/.IntelliJIdea2017.3/config/options but installations are typically restricted to write to program files directories in Windows at our company.
Question is: Is there another way to import settings in IntelliJ via file system? I heard about dropping exported settings.jar to plugins directory in IntelliJ installation directory but that's not working either.
There is no ready-made solution for this, however, you can write a small plugin that will import your settings file on startup, and deploy it to the plugins directory of your installation of IntelliJ IDEA.
You can find the implementation of settings import here. The current implementation is not decoupled from the user interface, so you can't invoke it from your plugin, but basically the only important part for your usecase is this:
val filenameFilter = ImportSettingsFilenameFilter(getRelativeNamesToExtract(dialog.exportableComponents))
StartupActionScriptManager.addActionCommands(listOf(
StartupActionScriptManager.UnzipCommand(tempFile, File(configPath), filenameFilter),
StartupActionScriptManager.DeleteCommand(tempFile)))
You can simply perform the same operation in an ApplicationComponent of your own plugin.

How to import settings into CLion from Intellij?

I'm working with IntelliJ and I have the IDE configured to my needs. I'd like to transfer these settings to CLion.
Is this possible? If so, how?
On the official sites there is no info on that so I'm assuming I'd have to do it by hand (using the settings files and try my luck).
File | Export Settings in IntelliJ IDEA followed by File | Import Settings in CLion should do the trick.
Another option is to use the Settings Repository for synchronization.
This option is not available when you are using settings sync with account or repository.

exporting installed plugins from eclipse to another

How to export installed plugins from eclipse?
I want to use some of my installed plugins in another eclipse machine.
I don't want to download those again.
Regards
Start fresh and install plugins from an old install
The idea here is that you want to keep your old install intact, download a new indigo package (http://download.eclipse.org/) and just adds the existing plugins to your install. With Indigo this is now made super easy!
Step 1: Download and unzip your Indigo install: http://download.eclipse.org
Step 2: Import your plug-ins from your previous install by doing File > Import > Install > From existing install, pick your old install, select the plug-ins and there you go! You can chose to go piece meal, or chose to pick several entries, in any event dependency analysis will be performed to check the validity of the install.
Step 3: Click next a couple times and patiently wait for the bytes to download to your machine. Then restart and enjoy!
from http://lenettoyeur-on-eclipse.blogspot.com/2011/06/from-helios-to-indigo-is-easy.html
You can export the list of the features and plugins by going to File->Export->Install.
I’m bringing a really old thread to life here, but there’s a much more comfortable way to export your Eclipse plug-ins and use your setup on another machine now.
On http://profiles.yatta.de you can download the Yatta Launcher for Eclipse, which allows you to export your Eclipse & workspace setup (including your plug-in setup).
Export and installation are pretty straight forward:
Download the Launcher from http://profiles.yatta.de and start it
The tool will automatically discover your Eclipse installations. Find the one you want to export in the list (they are all named after your workspaces).
Click the Upload & Share button (the blue one) on the right of the entry you want to export.
(You won’t actually “share” your Eclipse or workspace with anyone. You’ll just upload a setup file with your metadata that only you have access to yourself. You could share this later, but you can also just keep it as a backup).
This solution does not only allow you to reuse your eclipse plug-in setup, but also your configured Git & task repositories and many other setup-specific settings.
Along with update sites, p2 can treat existing Eclipse installations as a source for the plugins to be installed.
If you access the Eclipse folder in another machine (which has the plugins installed) via shared folder in the network , then in your new Eclipse, open Preferences->Install/Update->Available Software Sites->Add->Local-> browse to the Eclipse->p2->org.eclipse.equinox.p2.engine->profileRegistry and select the profile.
Now in the target Eclipse you can install those plugins as if you are installing from an update site.
P2 (the bundle provisioning system) provides functionalities for shared bundle pooling, see
http://wiki.eclipse.org/Equinox/p2/Getting_Started#Bundle_pooling
It seems that feature is on its way: http://bugs.eclipse.org/282419
I don't know how to export a installed plugin,
but this answer helps for reinstalling an eclipse plugin from another eclipse installation. (How Do You Reinstall Installed Eclipse Plugins?)
Also See
Installing Eclipse (3.4+) plugins in a directory other than ECLIPSE_HOME/plugins
How To Add Perspectives In Eclipse?
You can simply copy the plug in folder from the other machine --(may be on a pendrive or cd )-- whatever suits you.
Then go to your ecplise,
File > Import... > Plug-in Development --> Plug-ins and Fragments Click "Next"
[Import From] -- Directory. Browse your plugins folder
Just Hit "Next"
From the left box, select individual or you may want to add all of it. Just hit
"AddAll ->"
And Just Hit "Next"
and there on just sit back let it do all the import work.
Dropping the right jars from your plugins directory to the target installation plugins directory should do the trick.