-
Couldn't load subscription status.
- Fork 274
Description
I've noticed that ccls always resolves "real path" to referenced files by following symlinks. While there are certain advantages in this approach it may be undesirable in some cases.
For instance, I'm using symlinks to disguise real location of some system header files which are located in different places on my working machines. When I transfer database from one machine to another, ccs have to recompile the whole database because of "missing" header files.
I also believe a general argument: if files are referenced (in compile_commands.json or indirectly via include directives) with some symlink, there may be a reason for this and ccls should not be too smart and bypass this symlink by resolving the real location.
I think this behavior should be configurable. If author agrees, I may like to contribute a PR.