Can I share settings for IntelliJ Idea in different projects?

For a month or so that I used IntelliJ, I have one project that I work on in most cases, when I have all my windows, toolbars, etc., customized to my liking,

I rarely have to open other projects in IntelliJ, and I notice that all windows have a reset value by default. For example, the Structure toolbar returns to the lower left side of the screen; I prefer it to be fixed in the upper right corner.

Can settings for window locations and tools be used in different IntelliJ projects? Can I customize it once on a global scale and apply it to any new project that I open in IntelliJ in the future?

Also, does anyone know where these types of settings are stored - I assume this is in IntelliJ files for each project (e.g. .ipr , etc.), and not in my global .settings directory?

+13
java intellij-idea
mar 15 2018-11-11T00:
source share
3 answers
  • Create a new connection or go to the Properties connection (Alt + ENTER)
  • Find "Project Data Sources" in the upper left.
  • Select "Make Global" in the context menu
+13
Nov 16 '16 at 11:23
source share

For IntelliJ-13/14, if you want to reuse the connection to databases and applications, you must copy these files between the .idea project folders.

  • dataSources.ids , dataSources.xml : database material
  • workspace.xml : all appservers configuration

Yes, it sucks, but at least there is a workaround.




EDIT: When you create / edit a data source, a "scope" combo box appears, you can select the IDE option and this will allow you to reuse the data source for many projects.

+9
Mar 17 '14 at 20:36
source share

You are right, these settings depend on the project, and you cannot make them by default. They are saved in the .idea/workspace.xml file or in the <project>.iws file depending on the project format you use.

You can try to overwrite this file in a new project using the old project so that your settings are transferred.

+6
Mar 15 '11 at 20:19
source share



All Articles