cppit / jucipp

A lightweight & cross-platform IDE supporting the most recent C++ standards. This project has moved to https://gitlab.com/cppit/jucipp.
https://gitlab.com/cppit/jucipp
MIT License
882 stars 98 forks source link

Go to Usage and Rename now includes unopened files #342

Closed eidheim closed 6 years ago

eidheim commented 6 years ago

Added parsing of unopened files that might contain the searched for token/cursor. You can control the number of threads used in this parsing in preferences: source.clang_usages_threads

Also caches parsed files, and stores these caches in the .usages_clang folder under the default build path.

I'll add tests and possibly do some cleanup before merging this. Testing and feedback is welcome, but note that this is a complex addition, and there might be issues.

eidheim commented 6 years ago

@zalox Do you know why AppVeyor fails?

eidheim commented 6 years ago

@zalox I'm merging this even though appveyor fails since it is not due to source errors. Hopefully, you will find a way to fix the appveyor build later.