$HOME in Header Search Paths Follow
Completed
How can I debug the way Header Search Paths are populated?
Somehow I've got my whole $HOME there so (re)indexing takes forever and "jump to definition" is all over the place, showing files with path stemming from $HOME instead of my local disk (I have a symlink $HOME/local pointing to the local disk, but the project is open from the local disk path directly, not thru the symlinked path).
Grepping .idea and .cache/JetBrains for the $HOME doesn't show anything obvious, almost everywhere I see the local disk paths, so I don't know what to fix for it to go away.
Any pointers?
Please sign in to leave a comment.
Hello!
Please open any problematic file (in which you do "jump to definition") and do
Help | Find Action
>Show Compiler Info
. What do you use in the Includes section there?Only local paths in the includes (`-I` and `-isystem` under `Compiler switches:`).
My $HOME is mentioned in one place only: `Pointer:` under `Header Search paths:` at the bottom. It looks like it just mirrors there what I see in the Project view
Could you please show the entire "Compiler switches" section of Show Compiler Info?
How can I do it securely? Let's create a ticket at YouTrack?
Ok, please create an issue in YouTrack, thanks.