IC navigator: added support for include files (#17784)
* ic fixed navigator crash when track wrong/missed Also fixed an issue with getNimcacheDir not observing the outDir. * closer, but not sure how to test[skip ci][ci skip] * IC navigator: added support for include files * update * make posix happy via expandFilename * update Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
This commit is contained in:
parent
24abe10aa8
commit
3b80f0dc8e
9 changed files with 111 additions and 33 deletions
|
|
@ -701,7 +701,10 @@ proc getNimcacheDir*(conf: ConfigRef): AbsoluteDir =
|
|||
result = if not conf.nimcacheDir.isEmpty:
|
||||
conf.nimcacheDir
|
||||
elif conf.backend == backendJs:
|
||||
conf.projectPath / genSubDir
|
||||
if conf.outDir.isEmpty:
|
||||
conf.projectPath / genSubDir
|
||||
else:
|
||||
conf.outDir / genSubDir
|
||||
else:
|
||||
AbsoluteDir(getOsCacheDir() / splitFile(conf.projectName).name &
|
||||
nimcacheSuffix(conf))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue