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

Custom project name #32

Closed
danielbrodin opened this issue Oct 23, 2015 · 3 comments
Closed

Custom project name #32

danielbrodin opened this issue Oct 23, 2015 · 3 comments

Comments

@danielbrodin
Copy link

Is it possible to add a custom project name instead of using the folder name? For example I have a wordpress site where it's just the wp-content folder that is open in the editor which kinda makes it useless to track. There are times where I have also renamed a folder after some time, and it would be nice to keep tracking it on the same time.

@alanhamlett
Copy link
Member

You can create a file .wakatime-project with the first line having the new project name. Put that file in your project folder and wakatime will use that project name instead of the folder name.

@danielbrodin
Copy link
Author

Thanks. It worked great. Is there anything else that can be configured in the .wakatime-project file? Couldn't find anything on it.

@alanhamlett
Copy link
Member

No, but you can configure things in your ~/.wakatime.cfg INI file:
https://github.com/wakatime/wakatime#configuring

Including mapping directories to project names:
https://github.com/wakatime/wakatime/blob/master/wakatime/projects/projectmap.py#L10

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

No branches or pull requests

2 participants