Warn about tags when project is moved

Discussion about CodeLite development process and patches
Gibbon1
CodeLite Expert
Posts: 166
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Warn about tags when project is moved

Post by Gibbon1 » Tue Feb 26, 2019 5:13 am

I've run into an annoyance when copying a project to a different directory which is the *.tags file contains hard paths to the previous location. Going to the definition or implementation of a symbol opens the file on the old location. That can be a bit confusing if you don't notice or know to watch for it.

Would be nice if the .tags database remembered the where it was created and bitch a little if the location changes.

Bitching meaning ask if you want to re-parse the project when you open it and the tags database has moved.

User avatar
eranif
CodeLite Plugin
Posts: 5896
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Warn about tags when project is moved

Post by eranif » Wed Feb 27, 2019 10:04 pm

Sounds like a good idea.
Can you please submit this to GitHub?

Thanks!
Make sure you have read the HOW TO POST thread

Post Reply