I am just starting to test projectile.
My understanding is that
projectile-find-file looks into my whole repository for the file I'm looking for.
I am also currently working on the file structure of my project. When trying to open a file (one I have moved), both the new and the old location show up as suggestion. If I choose the old location, a new file is created.
- is the file location information cached somewhere, in that case where? I installed projectile after moving the file. How can I clean the old info?
- is there a way to prevent projectile from creating files? I'm happy with returning to
ido-find-filefor file creation.
More details: I am upgrading an SDK that is a submodule of my repo, and the new version has another file structure.
# the old file (note the "old" in the path): vendor/nrf5-sdk-old/components/drivers_nrf/spi_master/nrf_drv_spi.h # the new file: vendor/nrf5-sdk/integration/nrfx/legacy/nrf_drv_spi.h
When I run
projectile-find-file in my project:
Note the second suggestion, which is a file that does not exist. What exists is this file, but in nrf-sdk-old instead of nrf-sdk as advertized.
I've tried moving away the
nrf-sdk-old altogether, the suggestion keeps coming up.
EDIT: I've tried removing my TAGS file. The old path is still in my checked out commit, though (but not in working files). Could that be it?