Fork me on GitHub
#cursive
<
2016-09-23
>
timgilbert04:09:01

Say, I’m still a little baffled about what the right thing to do is when I have a leiningen checkout dependency (link from my-parent/checkouts/my-child to the root of the my-child project, which has a distinct git repo) and IntelliJ warns me about “Unregistered VCS root detected”. I have options for “Add root”, “Configure”, “Ignore”. What happens if I “add root”?

cfleming09:09:01

@timgilbert If you go to Settings-&gt;Version Control, you’ll see how the roots work. It basically maps a directory within the project to a VCS type. So if you Add root, it will simply register my-parent/checkouts/my-child as a Git repo, and will let you modify files, diff, commit etc. If you’re editing files in my-child while working on my-parent (which presumably you are, otherwise you wouldn’t be using checkouts) you probably want this.

cfleming09:09:22

Either way, if you find it’s not what you want, you can always remove the root later and ignore it from that settings pane.

timgilbert12:09:11

Awesome, thanks for the explanation @cfleming

bfabry22:09:35

anyone know why I would have a thing where if I have a non-clojure file open it takes over the whole screen and the clojure files get hidden behind it?