How do I save defaults for all new projects?

已回答

This is ridiculous -- I know I've done this in the past, but I cannot find it with a search, and I've been searching for like an hour now to no avail...

I have a project that is set up just the way I like.  The windows are in the right place and are the right size, etc.  I want all future projects I create to use these exact windows in this exact position.

I know I've done this before -- but I cannot figure how to to make the current project the default "look" for all future new projects.  Every time I search for "intellij idea save current project as default" (or words to that effect) I get a bunch of results that tell me how to restore the default look, but nothing that tells me what I want to know.

HOW DO I SAVE A CURRENT PROJECT AS THE DEFAULT "LOOK" FOR ALL FUTURE PROJECTS?!!  I have definitely done this before!!!  Someone please HELP!!!

1
Avatar
Margarita Tyumenkova

Hello Laurence5905,
 
If you want to save tool windows settings, please use Window | Layouts. You can save your current layout by "Save Current Layout as New" and switch to it from new projects by Window | Layouts | <name of your layout> | Apply.
 
If you want to save project settings, please take a look at the Project settings page for details.
 
Kind Regards,
Margarita
JetBrains Support

1

So there's no way to make IntelliJ IDEA default to a particular layout?  I have to manually select it?  I swear there was a way to make it default all new projects to a given layout.  I swear I did it last time I installed IntelliJ IDEA on a new computer -- which, admittedly, was awhile ago.

As far as Project Settings are concerned -- it only affects the current project.  Is there no way to make Project Settings into a default "template" of sorts?

0

> As far as Project Settings are concerned -- it only affects the current project.  Is there no way to make Project Settings into a default "template" of sorts?

File | New Projects Setup | Settings for New Projects...
File | New Projects Setup | Structure

 

0

Maybe I'm not asking the right question...

My current, open project has settings that I like.  I want to apply those settings to ALL future projects.  Window placement, font-sizes and colors, everything...

When I go to File | New Projects Setup | Settings for New Projects it *DOES NOT* show the changes I have made to my current, open project.  I want to copy the current project's settings there, then save them as the default for all new projects.

Alternatively, I have access to backup copies of all the files on my old computer, but not the computer itself.  Is there a file (or files) I can copy from my old computer's backup to my new computer that will simply transfer all these settings for me, so I don't have to re-create them manually? (I cannot run "export settings" on my old computer because  it is dead.)  Just to make things more complicated, my old computer was a Mac and this new one is Windows 10.

0

> Alternatively, I have access to backup copies of all the files on my old computer, but not the computer itself.  Is there a file (or files) I can copy from my old computer's backup to my new computer that will simply transfer all these settings for me, so I don't have to re-create them manually?

You can copy Configuration directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory from the old system to the new one.

0

> Window placement, font-sizes and colors, everything...

Window placement is a project-specific setting, but you can save the layout under some name and then apply this layout to the other projects.

Fonts and colors are IDE level settings and are already applied to all the projects automatically.

You can tell the project-specific settings by this icon:

There is no way to force these settings from the current project to the other projects at the moment. Related request: https://youtrack.jetbrains.com/issue/IDEA-221422/Global-settings-for-existing-projects.

To edit these settings for all the new projects you should use File | New Projects Setup | Settings for New Projects...

Global IDE settings can be shared via JetBrains Account or Settings Repository: https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html.

 

0

Ahh -- ok.  I copied the Configuration folder from the old computer to the new one, and that seems to have worked.

Thanks!

0

请先登录再写评论。