Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store database in user folder #7

Open
cmeriaux opened this issue Jan 24, 2018 · 2 comments
Open

store database in user folder #7

cmeriaux opened this issue Jan 24, 2018 · 2 comments

Comments

@cmeriaux
Copy link

Is it possible to move generated files of the database in a user folder ?
The aim is to keep a repository clean when this reporistory is parsed by nppgtags.

example
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GPATH_1
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GRTAGS_1
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GTAGS_1
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GPATH_2
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GRTAGS_2
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GTAGS_2
......
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GPATH_x
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GRTAGS_x
C:\Users\XXXXXX\AppData\Roaming\Notepad++\plugins\nppgtags\GTAGS_x

@pnedev
Copy link
Owner

pnedev commented Jan 24, 2018

It is currently not possible. It can be implemented but is a bit tricky.
If you are using revision system (SVN, Git, whatever) like me then you can add database files to its exception list as a workaround.

@pidgeon777
Copy link

pidgeon777 commented Jan 10, 2019

I also think that if deleting NppGTags files automatically is not an option, maybe that setting a custom "Project" folder where to store the database files per-project could be a good alternative. It would be easier to maintain a clean and organized file collection. When needed NppGTags database files could then be easily deleted, without searching for them every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants