$HOME in Header Search Paths

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?

5 comments
Comment actions Permalink

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?

0
Comment actions Permalink

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

0
Comment actions Permalink

Could you please show the entire "Compiler switches" section of Show Compiler Info?

0
Comment actions Permalink

How can I do it securely? Let's create a ticket at YouTrack?

0
Comment actions Permalink

Ok, please create an issue in YouTrack, thanks.

0

Please sign in to leave a comment.