Import settings with a script?

Answered

Is it possible to import settings with a script automatically?

The reason is to avoid to do it manually for new developers joining the team.

We get everything from repository and running a script sets up all the development environment, only the settings.jar import is still manual.

Thanks.

0
6 comments

You could unpack settings.jar into the config directory with a custom script.

0
Avatar
Permanently deleted user

I guess you mean inside:

 

C:\Users\<user>\.IntelliJIdea2017.1\config

0

Yes, would depend on the OS.

0
Avatar
Permanently deleted user

That works thanks.

It'd been nice to have an environment variable pointing to the right directory, is there one?

0

IntelliJ IDEA doesn't set any environment variables.

0
Avatar
Permanently deleted user

ok i'll use

%USERPROFILE%\.IntelliJIdea2017.1\config

better than nothing.

When version changes I need to maintain the script though.

0

Please sign in to leave a comment.