Propagate IntelliJ IDEA project settings - eclipse

Is there any tool or plugin for intellij that let you propagate project settings (code formatting etc) across your team ?, something like Eclipse Workspace Mechanic for eclipse

Yes, you can select File -> Export Settings... and there you can find all properties you can export.
After that you give that settings.jar to all your team members, and all they need to do is File -> Import settings... and select all properties they want to be imported.
You can find more information here.
If you want it to be done automatically, you can look at Settings repository plugin (Preferences -> Plugins). It's description you can find here.

You don't need to export/import IDE settings for that. Using Settings Repository plug-in is also an overkill for such a simple task.
Instead, configure IntelliJ IDEA to store the code style and inspection profiles inside the project, then share your project files with the team.

Related

How to do additional operation when a project has been imported to Eclipse grammatically?

While importing a project into Eclipse RCP using option "Existing project into workspace", I need to set some preferences based on the configuration in importing project. Are there any extension point available to do additional operation while importing project? or is there any way that I can achieve through code?
I tried to figure out the extension point that would help me by looking at core plugins. But no success yet.
Project specific settings are normally in a .settings directory in the project folder. This should be imported.
There is nothing to set non-project preferences (and I don't think import should be doing that anyway).
It is possible that Eclipse CDT has additional options - I don't use CDT so I can't say.

How to share Eclipse-project preferences among different team-members using Oomph

I'm trying to share preferences with other developers in my Team using Oomph's Project Model. What I did so far:
Create a Setup Project Model using the template Simple Project
Import the current Preferences using the icon Capture Preferences
Now I have a .setup-File that contains (hopefully) my current preferences. But how do I share this file? I expect that there is some way to convince eclipse to read this file and to sync the preferences with it. I was hoping I could commit this file to SVN and eclipse would then read this file on every Startup...
Is something like this possible, and how is it done?

How can I export Eclipse compiler settings to a file?

In Eclipse I have exported code formatting, cleanup, import orders etc to files and checked them into svn.
This is useful for my team so that they can all use the same setup.
However, I can't find a way to do the same for Compiler options. There are quite a few useful settings that aren't switched on by default and its error prone for everyone to change them manually.
I know that I can use FindBugs (and we do through CI) but the Eclipse compiler options are better integrated and faster.
The best way to share all of those settings is to use Project-specific settings. Open the Project properties and select the various sections that you want to configure (for example, Java Compiler, then select the option Enable project specific settings.
Any settings you configure this way are stored in the project in a folder named .settings. Check that folder in to source control along with the .classpath and .project files, and whenever the project is checked out Eclipse will automatically apply the settings. Workspace settings are overridden by project-specific settings, so using this technique it doesn't matter how other workspaces or users have their settings configured.
The answer of #E-Riz is perfectly correct. If you find that you need to synchronize more than the listed settings for your team members in the future, then you should also have a look at Googles workspace mechanic, which allows to automatically apply any set of preferences to a workspace and to check during each start if the local preferences are still valid for the shared setup.

How to see repository path in Eclipse

Is it possible in Eclipse to see the full repository path associated with a project?
This is a bit trivial information so I would expect it would be available somewhere but I can't find it.
So for Subversion I can of course go to the command line and do svn info but I would expect that this information is also available in Eclipse. This is the most trivial but also the most essential information about a resource.
Right-click on the project or file and click properties. Then select the "Subversion" section from the left.
First of all, you have a Subversion plugin installed in Eclipse, right? Otherwise just add one, and everything comes up automatically.
Please have a look at the following preferences afterwards:
Team -> SVN -> Label decorations: There you can configure what is shown directly besides the project nodes in the project explorer. The available variables to configure what exactly is shown depend on whether you use the Subclipse or the Subversive plugin.
General -> Appearance -> Label decorations: There you globally enable/disable label decorations.

How to copy user libraries between workspaces in Eclipse

I was mistaken in thinking that the user libraries I define in one workspace would be available in all and subsequently created workspaces.
So I created a new workspace to organize the myriad of projects, but alas my user-defined libraries did not get replicated in the new ws. I am seeking a way to get my user library defs from the old ws into the new ws.
Is there any good way to hack this? (I've tried researching this but have come up empty handed.)
There's an export option, at least as of Eclipse 3.5.2:
Window > Preferences > Java > Build Path > User Libraries > Export...
If that's not available, what version of Eclipse are you using? Also, what language are you working with? I'm assuming Java, but that wasn't tagged in your question.
In the same place where you define user libraries (under Preferences -> Java -> Build Path -> User Libraries), you will find import/export buttons.