<div dir="ltr"><div dir="ltr">Hi Nikita,<div><br></div><div>I don't think we have an option for that. It seems like we should work something out here, I filedĀ <a href="https://github.com/clangd/clangd/issues/184">https://github.com/clangd/clangd/issues/184</a></div><div>As a workaround, if you make $PROJECT/.clangd a symlink to some other directory, clangd will store the index files in that directory. (Tested on linux, I'd expect this to work on mac, not sure about windows).</div><div><br></div><div>Cheers, Sam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 21, 2019 at 11:26 AM Nikita Alekseev via clangd-dev <<a href="mailto:clangd-dev@lists.llvm.org">clangd-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Greeting everyone, I've started using Clangd for code completion<br>
recently, and I'm liking it a lot so far in terms of LSP features.<br>
However there are some usability features, one of which is that the<br>
background index is being put in the root of my project. This is<br>
inconvenient and I was wondering if it is possible to change the<br>
location of the index directory. I've looked through available options<br>
and did not find anything, If you could help me out, that would be<br>
great.<br>
<br>
Regards,<br>
Nikita Alekseev<br>
_______________________________________________<br>
clangd-dev mailing list<br>
<a href="mailto:clangd-dev@lists.llvm.org" target="_blank">clangd-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev</a><br>
</blockquote></div></div>