Settings repository - URL
Answered
I've been trying to setup the settings repository so I can easily work with IDEA over multiple machines (laptop and desktop basically).
However, when I try to enter the URL of my BitBucket repo I just get an error stating "Please specify absolute path".
I found the code for that here, but it appears to be doing a local file check. I don't really understand why the documentation refers to a URL, while the code appears to be using the local file system.
I guess I'm missing something. Do I need to clone the repo myself and then point IDEA at that? But if so, why doesn't the instructions say that?
Thanks,
Allan
Please sign in to leave a comment.
This dialog accepts repository URLs, like this one:
That was it - doh!
Thanks! :-)
Hmm. I'm unclear on how Serge's advice solves OP's problem, since it doesn't solve it for me. I was entering a URL to begin with, and it doesn't make the error go away for me. In the Settings Repository "Upstream URL:" text box, I get the same error dialog ("Please specify absolute path") thrown after each individual keystroke, right up until I enter the second '/' in 'https://'. Seven times!
Same behavior on two different systems. Surely this isn't intentional behavior?
IntelliJ IDEA 2016.3.5
Build #IC-163.13906.18, built on March 6, 2017
JRE: 1.8.0_112-release-408-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
I got the personal settings repository working, but how does the ``Read-only Sources`` work?
The documentation says: "Use this section to configure additional repositories containing any types of settings you want to share, including live templates, file templates, schemes, deployment options, etc.
These repositories cannot be overwritten or merged, just used as a source of settings as is."
But what kind of data does those repos keep, exported settings jar files, or similar files like on my personal sync repository for settings?
I tried booth (on a separate repo and added as read only source), but I didn't get it to work.
As in the documentation mentioned, I'd like to share settings like, Code Style, live templates etc in separate repo's within a team. So no one uses the same Repo to store their settings, but uses the same read only sources.
Also, does the read only sources work without having a settings-repo (the top one) set?
If so, and once I get them to work, how do I start a sync, as the sync only appears once a repo is set for the entire settings base.
It doesn't quite work for me with PyCharm 2017.1.3 on OSX 10.11.6.
Copy/pasting the URL seems to work.
But if I click File > Settings Repository and start typing, the first character "h" is accepted ok, but when I type "t" I get the "Please specify absolute path" warning. However if I click OK the "t" remains, and then I can type another "t" (same error), then "p" (error), then "s" (error), then ":" (error), then "/" (error) but when I type the second "/" the error goes away.
Additionally, if I create a fresh git repository on my filesystem and then use the Browse button to find it, and select it, then when I click "Overwrite Remote" there is a new commit in my repository with the comment:
"PC-2017.1.3 <user@machine Create IntelliLang.xml, ide.general.xml, Default.xml ..."
However there are no actual files in the commit! The working directory is empty save for ".git", and there are no files in the actual commit. So this seems broken in this case.
Also, that email address seems to be malformed as it's missing the trailing ">".
github url is not working for me, please direct me to the right documentation of this feature.
Thank you
https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html