How to make certain settings global?

Answered

There are certain configurations that are stored in the project by default, but because I have many projects I have to configure it over and over for each project, and sometimes it's not as straightforward as it seems.

I've searched and searched, and it's driving me so mad I'm considering going back to one of the other two major Java IDEs, even though I really love everything else about IDEA.

My major frustrations are (were) with:

  • Inspections
  • Code Style
  • Dictionary (the one that new words get added to via the inspection)
  • Scopes and Copyright
  • Default Run/Debug Configurations
  • Live Templates

Sometimes, a global option is available, like with Inspections and Code Style, but when I select those, it just shows the settings stored in that global profile, it doesn't actually applt it. When I click Ok and go back to Settings, the local profile is selected again.

Two (half) solved cases:

  • Somehow along the road, on one of my pc's the Global Code Style template became selected and stayed active even after closeing settings. Now I just copy my .ideaC2016.3 settings folder across other computers.
  • After many long sessions of Googling I found out how to enable global Inspections by editing profiles_settings.xml and setting <option name="USE_PROJECT_PROFILE" value="false" />. Unfortunately it's still on a per-project basis, and I now copy this file across all my projects.

For all other settings (and many more I haven't listed), I still can't find a way to enable global settings (Dictionary being the most important one). And I also like a real solution for the two half solved cases.

28 comments
Comment actions Permalink

File | Other Settings | Default Settings, Code Style, Manage, Copy to Project. Now this code style will be used in all the new projects. Pretty same is for the inspections, Copyrights.

2017.1 has better UI for that: https://confluence.jetbrains.com/display/IDEADEV/IDEA+2017.1+EAP.

Open issues:

https://youtrack.jetbrains.com/issue/IDEA-152492 (run configuration)
https://youtrack.jetbrains.com/issue/IDEA-148319
https://youtrack.jetbrains.com/issue/IDEA-99950 (dictionaries)

0
Comment actions Permalink

That's not good enough. It's what all the other answers say. What I need is a way that also existing projects will use the global settings, not just new ones. Moreover, that all the projects are using the same inspections, not a copy of an existing one. When I change any setting or add a dictionary word I also want to have that setting change for all existing projects, instantly.

4
Comment actions Permalink

Please see https://www.jetbrains.com/help/idea/2016.3/sharing-your-ide-settings.html

If you work in a team, IDEA 2017.1 offers you a new way to share schemes with your team — Read-only sources (https://www.jetbrains.com/help/idea/2016.3/settings-repository.html)

-3
Comment actions Permalink

I don't see how a settings repository will help me sync spelling words or default run configurations. I did a commit just to be sure and sure enough I don't see any file containing dictionary words or run configurations. Please read my original post before replying.

3
Comment actions Permalink

I've already linked you to the open bugs regarding the dictionaries and global run configurations, please follow these issues for updates.

-1
Comment actions Permalink

I am not looking for a way to store settings in an external repository. While the idea isn't awful, it doen't solve the problem of having to set things up locally. I expect my settings to be local. While some settings may be specific to a project, most are not. Yet I still have to set everything up in each new project. I am not using an external repository to deal with that. This should be native functionality. 

2
Comment actions Permalink

I've the same Problem. Sharing the settings in my team does not work, because most of them are using another ide. So it's my problem to setup things like:

  • Encoding
  • Runtime assertations

for every workspace for my own.

It would be helpful for me, to set global preferences and override them project-specific if i need to.

1
Comment actions Permalink

I need a global run configuration in my Webstorm, so that every project I open should have the default set of configurations that I've already defined.

For e.g. I have various nodejs projects and all of them have the exact same mocha configuration. But I have to create it again & again for every project and there are 150+ such modules.

1
Comment actions Permalink

Run configurations for the new projects can be configured here:

0
Comment actions Permalink

You don't seem to understand the question. i have the same problem and it's driving me insane to the point that i wish to switch to another editor. we need a way for the IDE to apply it's global settings on each project you're opening. the solutions you are offering apply to new projects created via intellij, but that's never the case. you git clone a repository, open it with intellij and the global settings should apply. at the moment every time i open a new project with intellij, i have to setup the settings manually. for every language, for every project.

1
Comment actions Permalink

What specific settings do you need to specify every time for the imported projects?

-2
Comment actions Permalink

@Serge Baranov He made that clear in the main post?

2
Comment actions Permalink

Of the things I mentioned I either don't use them anymore (copyrights) or have workarounds for most now (for dictionaries, using \*ugh* hard-links).

1
Comment actions Permalink

I'm also having the same request. There are so many options in PhpStorm, it's impossible to get it right the first time. There are always some tweaks here and there that I want to adjust.

I manage about 50 projects, of course I'm not going to go back into those 50 projects each time I change an option.

It's a fantastic software, but it's a major pain in that regard.

1
Comment actions Permalink

I use IntelliJ IDEA Ultimate at work and at home, and a simple example of the same problem is that I can't upgrade the version of Maven on my work computer without having to go into Settings for every project (~30 of them) to change it. It doesn't even matter that the MAVEN_HOME environment variable is set - IntelliJ ignores that.

The same goes for the version of Scala, and pretty much every external resource. If I want to change it, I have to change it separately in every single project.

1
Comment actions Permalink

There is related request on YouTrack: https://youtrack.jetbrains.com/issue/IDEABKL-7001

Feel free to share your suggestions in comments.

 

0
Comment actions Permalink

@Yaroslav Bedrov, the request you've referenced was last updated 5 years ago. Clearly, no one is working on that.

1
Comment actions Permalink

Yes, it's not a high-priority issue. There are only three votes for it.

0
Comment actions Permalink

Maybe that is *because* it's 5 years old, and focuses mainly on the term "inherit" which is different from this. When I posted this I didn't find that bug report, and I certainly searched.

2
Comment actions Permalink

Mark,

You are welcome to open separate issue on YouTrack.

0
Comment actions Permalink

This is pretty sad.

User: "I have this problem X"

Jetbrains: "We have 19 other issues that sort of resemble what you're asking for"

User: "No, if you read past the subject line they're not even close"

Jetbrains: <head in sand>

 

1
Comment actions Permalink

For me, nobody I know uses JSHint or JSCS anymore. Yet, for every single project, it complains about them being misconfigured, and I can't disable the warnings globally, I have to do it for each extension, in each project...

 

0
Comment actions Permalink

Please perform these steps:

  • Open "File | Settings | Editor | Inspections"
  • Select "Default" Profile
  • Select "JavaScript | Code quality tools | JSHint" in the inspection's tree. Is it checked? If yes, uncheck it and click OK to close Settings dialog. Will it fix the issue?
0
Comment actions Permalink

@Yaroslav

This is what I have and I still get nagged on every project:

0
Comment actions Permalink

i have to tell ya I gree with the audience.  Ive been putting around now for a month attempting to figure a way to set up a global ide which would include Intellij

phpStorm

webStorm

dataGrid

etc. 

here's why,

I'm building a dynamic structured data seo tool for wordpress which would build in all the best practices for web architecture cause when you look at the big picture the web architecture has gone to Sh^*&^*^*t especially when it comes to wordpress and the theme/plugin community.  It's insane but it can be done, either way I digress, I'll spare you my mind map detailed description.

And I was going around in circles, when your working with something like building a wordpress plugin you need to have (ugh, OMG, this is ridiculous SMH ) so many different tools - use react vs npm or both, global or local nodes or both again, this node requires java,phpunit,react-native, maven, typescript but don't use babel with this, and btw this is depreciated so use this, use vis studio, omg its nuts right?!.  And when i came across your tool set it was like I was 5 again in a candy store and 20 bucks in my hand. Finally! I found my savior, each jetbrain tool addresses all that I need.n YAY !!! O-O.  But it's kinda crazy, I'm a newbie at IDEs btw, but not a one I mean no IDE has incorporated a global dashboard for a project.  

Here's my thought and maybe I'm missing something, but I've spent a month going through the docs. 

Global project Dash

Name

Framework , i.e wordpress plugin

shared directory

shared assets

imgs, css, js, sdks, xmls(category and xsds and dtds schemas etc)

then sorta like a package. json

require, scripts, deps, devdeps, peerdeps etc but using and relating the workflow to the jetbrain core of tools. or even better and easier a core xsd

Because it gets crazy frustrating to have to bounce in and out to the different ides to deal with the scope of different tools and packages needed to build a solid and precise plugin/app/ etc

not to mention this IDE plugin only works with Intellij or phpstorm or webstorm etc.  and forget about dealing with non jetbrain plugins.  One works here but not there ugh. 

OH this is addressed but when your first working with settings you really need to sorta blast this across the screen "If you choose this setting, your dev library will be removed!  Are you sure you want this option.  Type yes here if so" . Love the way mailchimp does this.  I never have a senior moment.  LOL First couple saves using JB IDEs, I was like O_O what the flipidy do da?? Where all my work go!!!

I really like your tools when they work, :P IK they always work lol, But one does php great, the other jave, this one react that one prefers react native etc.  orchestrating them is at best time consuming and frustrating.  

Thanks for letting me vent and I feel ya Kendal.  If the JB team have any suggestions please feel free to jump in. There is always the chance maybe I'm just an idiot  and I'm missing something here.  LOL

 

mobilemadman / Drake

 

 

 

0
Comment actions Permalink

Hello Drake,

Am I got you right that you need one tool that will support features from all IDEs (phpStorm, webStorm, dataGrip, etc.)? Then you could use Intellij IDEA - it supports all features from these IDEs via plugins (PHP, JavaScript support, etc.).

0
Comment actions Permalink

For those who is still missing the feature I have created a feature request: https://youtrack.jetbrains.com/issue/IDEA-221422

Feel free to vote for it.

0

Please sign in to leave a comment.